In this test, I made my chipKit respond to certain serial messages by turning on its on-board LEDs or pulsing the light through the line of LEDs forwards or backwards.
I then put together a quick Python script to help automate the testing process. It gives me a command prompt and I can type one of the following commands to send messages to the device:
on - turn the on-board LEDs on
off - turn the on-board LEDs off
pulse forwards - "pulse" through the LEDs in the forwards direction
pulse backwards - "pulse" through the LEDs in the backwards direction
Here is a video:
No comments:
Post a Comment