OSC is defined as 40Mhz, where is the config settings?
which pic is this?
OSC is defined as 40Mhz, where is the config settings?
which pic is this?
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Completely unrelated to your problem, or perhaps not but anyway.....
Does these constructs really work? Do they even compile:Code:' FWD/RWD button IF PORTC.1=%1 THEN IF rot=%0 AND run=%0 AND flag4=%0 THEN rot=%1:flag2=%0:flag4=%1 IF rot=%1 AND run=%0 AND flag4=%0 THEN rot=%0:flag2=%0:flag4=%1 ENDIF
I think you need an ENDIF for each of those IF statements.
So, while LCDOUT command is being executed, an interrupt is occuring.
To "test" this, you can disable all interrupts before lcdout command and enable them right after.
This is just to see.
But this will definitely effect your motor. It can give you a point anyway.
Last edited by sayzer; - 6th December 2011 at 22:37.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks