Little-Wire
|
Functions | |
void | littleWire::pinMode (unsigned char pin, unsigned char mode) |
void | littleWire::digitalWrite (unsigned char pin, unsigned char state) |
unsigned char | littleWire::digitalRead (unsigned char pin) |
GPIO functions
unsigned char littleWire::digitalRead | ( | unsigned char | pin | ) |
Read pin value
pin | Pin name (PIN1 , PIN2 , PIN3 or PIN4 ) |
void littleWire::digitalWrite | ( | unsigned char | pin, |
unsigned char | state | ||
) |
Set pin value
pin | Pin name (PIN1 , PIN2 , PIN3 or PIN4 ) |
state | Pin state (HIGH or LOW) |
void littleWire::pinMode | ( | unsigned char | pin, |
unsigned char | mode | ||
) |
Set pin as input/output
pin | Pin name (PIN1 , PIN2 , PIN3 or PIN4 ) |
mode | Mode of pin (INPUT or OUTPUT) |