??? 06/27/05 18:01 Read: times |
#96039 - Caught that errror Responding to: ???'s previous message |
Oleg, thanks for the catch. I noticed that after I posted my original code.
Charles, thanks for the info. I Just defined my flag as a regular static char variable in my C code rather than trying to address a particluar flag on the chip. This worked...sort of. Unfortunately the only way I have to test this code is to put the chip back in circuit and see what the servo does. Not very scientific...I ordered an oscilloscope yesterday which is on the way. I think I am kind of stuck until it arrives as my logic doesn't appear to be making the servo do what I want it to. Thanks for everyone's help. My ultimate goal is to be able to put whatever pulse width I want (i.e. 1.4 ms, 1.2 ms etc.) at 55 Hz out of any output port I want simultaneously. This seems like it is going to be tricky timer work. If I succeed I will definitely post the code back here for other's use. |