View Single Post
  #3   Spotlight this post!  
Unread 24-01-2006, 16:26
tribotec_ca88's Avatar
tribotec_ca88 tribotec_ca88 is offline
FIRST-a-holic
AKA: Camila Fitzgibbon
FRC #1382 (Tribotec Team)
Team Role: Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: São José dos Campos, Brazil
Posts: 194
tribotec_ca88 is just really nicetribotec_ca88 is just really nicetribotec_ca88 is just really nicetribotec_ca88 is just really nicetribotec_ca88 is just really nice
Send a message via ICQ to tribotec_ca88 Send a message via MSN to tribotec_ca88 Send a message via Yahoo to tribotec_ca88
Talking Re: Serial Commands on MPLAB

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
-----------------------------------------------