dipswitch.c File Reference

DIP Switch. More...

Go to the source code of this file.


Functions

int DipSwitch_SetActive (int state)
 Sets whether the DIP Switch is active.
int DipSwitch_GetActive ()
 Returns the active state of the DIP Switch.
int DipSwitch_GetValue ()
 Read the current configuration of the on-board DIP switch.
bool DipSwitch_GetValueChannel (int channel)
 Read a single channel's value.

Detailed Description

DIP Switch.

Functions for reading from the 8-position DIP switch on the Make Application Board.

Definition in file dipswitch.c.