Author |
Message |
Topic: Timer 0 Interrupt problem |
gael
Replies: 4
Views: 6260
|
Forum: General CCS C Discussion Posted: Sun Feb 12, 2006 5:30 pm Subject: Timer 0 Interrupt problem |
hardware CTCs
Do you mean CCPs?
If so, I am already using them to drive two servos. |
Topic: Timer 0 Interrupt problem |
gael
Replies: 4
Views: 6260
|
Forum: General CCS C Discussion Posted: Sun Feb 12, 2006 3:40 pm Subject: Timer 0 Interrupt problem |
1) Get data sheet for '452 and '4620. Specifically the seciton on the counter/timers. Check the configuration register bit assignments for both.
2) Look at a LST file for your '452 code and make ... |
Topic: Timer 0 Interrupt problem |
gael
Replies: 4
Views: 6260
|
Forum: General CCS C Discussion Posted: Mon Feb 06, 2006 1:59 pm Subject: Timer 0 Interrupt problem |
I am interfacing two wheel watchers / wheel encoders on a little robot.
First, I was using a PIC18F452 and everything was working fine. My application needed a little bit more ROM, so I decided to sw ... |
Topic: SERVOS.C Problem |
gael
Replies: 9
Views: 10349
|
Forum: General CCS C Discussion Posted: Mon Jan 09, 2006 1:11 pm Subject: SERVOS.C Problem |
Thanks a lot for your help. I finally found what the problem was. It was the potentiometer. I modified it so that I can ajust its value using a screwdriver from the outside. Now, the servos seem to be ... |
Topic: SERVOS.C Problem |
gael
Replies: 9
Views: 10349
|
Forum: General CCS C Discussion Posted: Mon Jan 09, 2006 11:08 am Subject: SERVOS.C Problem |
Do you realise how RC servos 'work', when used like this? A RC servo, will not automatically 'stop', if fed a 1.5mSec pulse. It will only do so, if the feedback pot (which is disconnected from the mec ... |
Topic: SERVOS.C Problem |
gael
Replies: 9
Views: 10349
|
Forum: General CCS C Discussion Posted: Fri Jan 06, 2006 8:15 pm Subject: Entire servos.c file |
I posted the initial question. Here is the servo.c file:
///////////////////////////////////////////////////////////////////////////
//// Library for the servo motors on the Picrobot ... |
Topic: EEDATA memory question |
gael
Replies: 2
Views: 7785
|
Forum: General CCS C Discussion Posted: Mon Jan 10, 2005 1:35 pm Subject: EEDATA memory question |
I need to write 0xFF to the last address of data memory. I am using a PIC18F452.
What is that address for this chip.
And, another question, which function should I use: WRITE_PROGRAM_EEPROM or W ... |
|