CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 50 matches
CCS Forum Index
Author Message
  Topic: Pic Timer Calculator
opvini

Replies: 5
Views: 23520

PostForum: General CCS C Discussion   Posted: Sun Dec 04, 2016 4:58 pm   Subject: Pic Timer Calculator
Cool!

I fixed it with:

set_timer0( [VALUE] + get_timer0() );

About the multiple of 4*PRE-SCALER *, I will check it
  Topic: Pic Timer Calculator
opvini

Replies: 5
Views: 23520

PostForum: General CCS C Discussion   Posted: Mon Dec 01, 2014 2:19 pm   Subject: Pic Timer Calculator
Hi asmboy. Thank you a lot for the post.

Well, I use the formula:

(crystal/4) / (PRE_SCALER*X) - 65536

with

X = [1,2,3,4...65536]
PRE_SCALER = [2,4,8,16,32,64,128,256]

is it wrong?
  Topic: Pic Timer Calculator
opvini

Replies: 5
Views: 23520

PostForum: General CCS C Discussion   Posted: Mon Nov 24, 2014 6:34 pm   Subject: Pic Timer Calculator
Hi everyone,
I created a simple and beautiful calculator to calculate a prescaler and preload and generates a code.
Just put the crystal frequency and what frequency you want.

http://www.vinicius ...
  Topic: Nokia 6100 color graphic display complete library
opvini

Replies: 1
Views: 26849

PostForum: Code Library   Posted: Tue May 20, 2014 1:57 pm   Subject: Nokia 6100 color graphic display complete library
I need to attach the includes:

#include <FONT57.c>
#include <FONT812.c>
#include <image.c>


I will attach on my webSite and post again the link to download all the files.
...
  Topic: Nokia 6100 color graphic display complete library
opvini

Replies: 1
Views: 26849

PostForum: Code Library   Posted: Tue May 20, 2014 1:52 pm   Subject: Nokia 6100 color graphic display complete library
Hi everyone,
i rewrite the nokia 6100 ARM library to PIC.


//****************************************************************
// Nokia 6100
//
// Color ...
  Topic: onKeyUp method and deboucing for buttons - VBtn Library
opvini

Replies: 4
Views: 40780

PostForum: Code Library   Posted: Tue Apr 29, 2014 4:37 pm   Subject: Bouncing treatment now
Hi asmboy,
Now I implement the bouncing treatment.

The full code is below.
I called the simple library "VBtn":


//****************************************************************
/ ...
  Topic: SERVOS: controlling more than 3 servo motors using any PIN
opvini

Replies: 1
Views: 27213

PostForum: Code Library   Posted: Thu Apr 25, 2013 11:58 am   Subject: NOTE
NOTE: you can calibrate the 0 degrees and 180 degrees from the servo whenever you insert or remove one servo. For example, if you work with 3 servos, it has one zero and one 180. If you work now with ...
  Topic: SERVOS: controlling more than 3 servo motors using any PIN
opvini

Replies: 1
Views: 27213

PostForum: Code Library   Posted: Wed Apr 24, 2013 1:40 pm   Subject: SERVOS: controlling more than 3 servo motors using any PIN
Hi everyone. I was need control various servos motors but the PIC 18F4550 has just 3 PWM's, then I create this library and test to create various PWM's using TIMER 0 and 4 MHz (if you need change it, ...
  Topic: ADC problem: cant read 0.5v
opvini

Replies: 7
Views: 8552

PostForum: General CCS C Discussion   Posted: Thu Apr 11, 2013 8:13 am   Subject: ADC problem: cant read 0.5v
Thanks SherpaDoug and PCM programmer!
SherpaDoug, the problem is on the hardware. I will need one buffer circuit with operational amplifier, correct? Why do I need it (about the impedances)?
  Topic: ADC problem: cant read 0.5v
opvini

Replies: 7
Views: 8552

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2013 5:44 pm   Subject: ADC problem: cant read 0.5v
sorry, the line "set_adc_channel(0);" is out of while(1) ok?!
  Topic: ADC problem: cant read 0.5v
opvini

Replies: 7
Views: 8552

PostForum: General CCS C Discussion   Posted: Sat Apr 06, 2013 5:42 pm   Subject: ADC problem: cant read 0.5v
Hi everyone. I want to read an analog signal from a potentiometer. When it is on maximum position, it works fine (return 1023), but my problem is when it is on the minimum position (0,56v) it read 0 a ...
  Topic: USB CDC with PROTEUS and PIC18F4550 problem
opvini

Replies: 1
Views: 6499

PostForum: General CCS C Discussion   Posted: Tue Feb 26, 2013 7:01 am   Subject: USB CDC with PROTEUS and PIC18F4550 problem
Hi everyone.
I need to comunicate my PIC with my PC using USB CDC. My program works fine in real world, but I really need to simulate it on PROTEUS, but it doesnt work in simulation. All the samples ...
  Topic: onKeyUp method and deboucing for buttons - VBtn Library
opvini

Replies: 4
Views: 40780

PostForum: Code Library   Posted: Mon Nov 12, 2012 5:06 am   Subject: onKeyUp method and deboucing for buttons - VBtn Library
Hi asmboy...
I really do not treat the issue of dirt or poor contact of the buttons. But you can implement this using delay...

I make a new code, more complete:



//////////////////////////// ...
  Topic: Modbus with RS485 using MAX487 sending one char after all
opvini

Replies: 9
Views: 23145

PostForum: General CCS C Discussion   Posted: Mon Nov 12, 2012 4:57 am   Subject: Modbus with RS485 using MAX487 sending one char after all
Thanks a lot temtronic, FvM and Ttelmah!!!
I put the pull up resistors on the RX lines, thank you Ttelmah, and now I will test on real world, out the PROTEUS.

Thank everybody!
  Topic: Modbus with RS485 using MAX487 sending one char after all
opvini

Replies: 9
Views: 23145

PostForum: General CCS C Discussion   Posted: Fri Nov 09, 2012 1:12 pm   Subject: Modbus with RS485 using MAX487 sending one char after all
Sorry, about the image:
https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-ash3/599027_547475415267201_1676175836_n.jpg

And I do not really trust the proteus, but it helps...
The question is: why ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group