Hand Hygiene

February 12, 2010

Digital I/O on motes

Filed under: Uncategorized — gscranton @ 11:49 am

I have written some simple programs to test the digital input/output pins on the motes.  These will need to be used in our plans for modifying the door minders. The pins used are labeled GIO2 and GIO3 in the telos user guide. InputTest makes the red LED turn on if GIO3 is experiencing low voltage, and the blue LED turn on if it is experiencing high voltage.  OutputTest makes GIO2 alternate between high and low voltage every 2 seconds. CombinedTest (as its name implies) does both. Here is all the code

Note that each program is split into a configuration and a module file.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress