Quote:
Originally posted by VanWEric
while it is possible to use toggle on the first bot, it really isnt all that useful. toggle only affects the output pins located on the stamp in the hands of the driver, and it has no effect on the stamp on the bot. since everything is communicated with serin and out, changing the state of the output pins dont do nuttin.
|
Not quite true. First, if you do a toggle on 1, 2, or 3, chances are everything will go horribly awry as these are the pins used to communicate withe the master uP. However, you CAN do a toggle on 7-15 to change the feedback LEDs. It has exactly the same effect as:
out8=1-out8
The advantage of Toggle is that it's a little easier to read and a little faster to type.