I was hoping that someone could provide me with an example of how to use this On/Off switch (http://www.adafruit.com/products/482
) to actually turn on or off an Arduino Fio please? My intent is that when the button is depressed the Fio is on and as such my code will take effect but if the switch is not depressed then the Fio receives no power. Currently I power my Fio using an FTDI connection with the USB cable connected to my laptop.
I'm relatively new at this so any assistance that you can provide would be immensely appreciated.