I'm trying to use a constant as a parameter into a function, but for some reason I'm getting the error "Expecting a close paren". I'm sure its an easy mistake...
Sure, I have 3 infrared sensors mounted on the front of a remote control car. The middle IR detects the object around 1 ft and turns on the top/bottom IR. The top and bottom IR are used for close rang ...
The loop is actually within another function separate from main(). Yes it is apart of the normal operation, therefore a WDT wouldn't be appropriate. Basically restart the PICs operation after a spec ...
I'm using a 16F818, and I've read about using Timer1 as a real-time clock, but is there an easier way to do this? If a loop executes for 10 seconds I wanted to restart the main() method.