Quote:
|
Originally Posted by Alan Anderson
The first byte after the command (here it's a 1) says how many more bytes will follow.
|
OK... that was something that wasn't stated clearly in the code (or at least I don't recall it being so), but we had a pretty good idea it had something to do with the number of bytes after we noticed there was a "6" in the TC (Track Color) command

...
Quote:
|
Originally Posted by Alan Anderson
I don't have a camera handy to test whether or not an ACK comes back after a sleep command, but it's easy for you to connect the camera serial port directly to a terminal and try it for yourself.
|
I imagine an ACK string should be returned (as explained in the "Serial Commands" part of the manual) ... but does anyone know for sure?
Quick thought...on commands such as GS (Get servo) where you get a return value (in this case, the last position sent to a specific servo), where exactly should these values show up ? (on MPLAB, because on Hyperterminal i believe they show up after the ACK message, if i'm not mistaken...) Would they appear right on the Terminal window on IFI Loader??? Or would I have to set some sort of variable ready to receive the command's return value?
__________________
1382 Tribotec Team - Brazil
-----------------------------------------------
2005 NJ Regional GM Industrial Design Award
2005 NJ Regional Website Excellence Award
2004 NJ Regional Semifinalists
-----------------------------------------------