Controls leds and buttons using a port expander. More...
#include <WProgram.h>
#include <Wire.h>
Go to the source code of this file.
Defines | |
#define | expander B00100111 |
#define | ON 1 |
#define | OFF 0 |
Functions | |
void | expanderWrite (unsigned char _data) |
byte | expanderRead () |
char | Button1 () |
char | Button2 () |
char | Button3 () |
char | Button4 () |
char | Led1 (char state) |
char | Led2 (char state) |
char | Led3 (char state) |
char | Led4 (char state) |
void | ISR_Interrupt () |
Controls leds and buttons using a port expander.
See also :
.cpp
The C++ File Reference.
Definition in file pcf8574.h.
#define expander B00100111 |