sipeed / Maixduino

Arduino port on Maix board ( k210 )
https://maixduino.sipeed.com
Other
213 stars 93 forks source link

Somethin wrong with Adafruit_BusIO #93

Open Kabron287 opened 3 years ago

Kabron287 commented 3 years ago

Sample code: selfie.ino A huge amount of errors like: Adafruit_SPIDevice.h: 61:22: error: 'BitOrder' has not been declared Adafruit_SPIDevice.h: 86:3: error: 'BitOrder' does not name a type Adafruit_SPIDevice.h: 70:30: error: 'size_t' has not been declared Adafruit_SPIDevice.h: 32:31: error: 'MSBFIRST' was not declared in this scope Adafruit_SPIDevice.h: 71:68: error: 'NULL' was not declared in this scope

I guess it is because K210 absent in #if defined enumerations

zaferAt commented 3 years ago

same here

Kabron287 commented 2 years ago

The reason was in presense of another library Adafruit GFX