Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
MCP23017 Class Reference

Public Member Functions

void begin (uint8_t addr)
 
void begin (void)
 
void pinMode (uint8_t p, uint8_t d)
 
void digitalWrite (uint8_t p, uint8_t d)
 
void pullUp (uint8_t p, uint8_t d)
 
uint8_t digitalRead (uint8_t p)
 
void writeGPIOAB (uint16_t)
 
uint16_t readGPIOAB ()
 
uint8_t readGPIO (uint8_t b)
 
void setupInterrupts (uint8_t mirroring, uint8_t open, uint8_t polarity)
 
void setupInterruptPin (uint8_t p, uint8_t mode)
 
uint8_t getLastInterruptPin ()
 
uint8_t getLastInterruptPinValue ()