6 #ifndef XBOARD_BASE_GPIOEX_H
7 #define XBOARD_BASE_GPIOEX_H
12 #include <SparkFunSX1509.h>
14 #define GPIOEXPANDER_ADDRESS 0x3E
15 #define GPIOEXPANDER_BUTTON_PIN 0
16 #define GPIOEXPANDER_LED_PIN 14
42 byte begin(byte address = GPIOEXPANDER_ADDRESS, byte resetPin = 0xFF);
45 void blinkLED(
unsigned long tOn,
unsigned long tOff, byte onIntensity = 255, byte offIntensity = 0);
48 byte i2cDeviceAddress_;
52 #endif //XBOARD_BASE_GPIOEX_H
Definition: GpioExpander.h:36