adafruit / Adafruit-MCP23017-Arduino-Library

Arduino Library for Adafruit MCP23017
Other
355 stars 204 forks source link

Support boards with only SPI or Wire (I2C) #92

Open caternuson opened 1 year ago

caternuson commented 1 year ago

This library currently requires both SPI and Wire to be present for any target board. This can cause build failures for targets that only have one or the other. Ex:

https://github.com/adafruit/Adafruit_LiquidCrystal/pull/15 https://github.com/adafruit/Adafruit_Learning_System_Guides/pull/2340

Need to add some preproc or other logic to protect against this and allow these type of targets to be used.