Testing for the define from build.board is not a good test (I recently updated them to refer to the specific part, instead of just the number of pins, for example) - instead, test for the MEGATINYCORE define, which is defined by Arduino.h and will always be there , and will be for all future versions of megaTinyCore. Also added a test for DxCore, which supports the new AVR Dx-series parts, and does SPI bit order in the same way. I confirmed that the examples now compile again on megaTinyCore with this change - and now compile for DxCore as well |
||
|---|---|---|
| .github | ||
| examples | ||
| Adafruit_BusIO_Register.cpp | ||
| Adafruit_BusIO_Register.h | ||
| Adafruit_I2CDevice.cpp | ||
| Adafruit_I2CDevice.h | ||
| Adafruit_I2CRegister.h | ||
| Adafruit_SPIDevice.cpp | ||
| Adafruit_SPIDevice.h | ||
| LICENSE | ||
| README.md | ||
| library.properties | ||
README.md
Adafruit Bus IO Library 
This is a helper libary to abstract away I2C & SPI transactions and registers
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
MIT license, all text above must be included in any redistribution