Hardware Reference
In-Depth Information
Discussion
When you run the script in
Example 6-14
,
the Bone opens up the serial port and every
second sends a new command, either
r
or
g
. The LaunchPad waits for the command and,
when it arrives, responds by toggling the corresponding LED.