I'm using a pic 12F683 (internal oscillator) to turn on/off some lights on my R/C car...
I'm reading the output from the receiver with pulsin and then I can turn on/off the lights...
I'm using the pwm output to control the stop lights... Normally, they are 50% lit and when I hit the brakes they go 100% brightness...
Also, I want to blink two yellow LEDs as turn lights, but I cannot wait while the LEDs are blinking because I need to know if something else happens, like hitting the brakes....
So, that's why I wanted to know how to blink the LEDs without the pause command...
I think I could do something with the "ifs", but as you said Bruce, will have to recalibrate the code...
Thanks for your answers!
Daniel.
Bookmarks