|
Re: Program a motor to turn on and off every other second.....
Ah yes, the ever helpful "syntax error"...
Try replacing "byte" with "unsigned char". They mean the same thing.
I don't know if byte works with MPLAB.
Also, if you get a syntax error on the last line of a file, make sure to put an extra blank line at the end of the code.
__________________
2006 Xerox Creativity Award
2007 General Motors Industrial Design Award
2008 Judges' Award
2009 Chrysler Team Spirit Award
|