![]() |
Fraise
2.1
FRAmework for Interfacing Software and Electronics
|
#include <fruit.h>Go to the source code of this file.
Functions | |
Loop functions | |
| void | switchService (void) |
| Call in loop(). | |
| char | switchSend (void) |
| Call at the maximum rate you want to report switches. More... | |
Utilities | |
| void | switchDeselect (unsigned char channel) |
| Deselect a channel. | |
| char | switchGet (unsigned char chan) |
| Get the state of a channel. More... | |
Initialization functions | |
| #define | switchSelect(num, conn) |
| Select a pin for a switch channel. Assign the pin to the switch channel. More... | |
| void | switchInit () |
| Call it once in setup() | |