Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By johntech2014
#28770
martinayotte wrote:Guys, take the benefits of the Adafruit_MCP23017 library instead of doing complex native I2C code ... ;)


I have used that library as you had suggested and DO agree that it is an easier way to go but I don't see any way to turn on multiple LED's at one time. Maybe I'll go back and have another look.
User avatar
By johntech2014
#28870
martinayotte wrote:
johntech2014 wrote:but I don't see any way to turn on multiple LED's at one time.


Code: Select allvoid Adafruit_MCP23017::writeGPIOAB(uint16_t ba) {


Ok I did see that somewhere in the AdaFruit library but have no clue what it means. I was also searching the AdaFruit site for information on that and how to use it, nothing concrete that I could figure out. I'll just keep looking.

Thanks