Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when compiling TFT example sketches #80

Open
dl5dla opened this issue Dec 28, 2020 · 0 comments
Open

Errors when compiling TFT example sketches #80

dl5dla opened this issue Dec 28, 2020 · 0 comments

Comments

@dl5dla
Copy link

dl5dla commented Dec 28, 2020

I am trying to compile the TFT/Demo example but getting the error:

In file included from /Users/peter/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GrayOLED.h:31:0,
                 from /Users/peter/Documents/Arduino/libraries/Adafruit_GFX_Library/Adafruit_GrayOLED.cpp:20:
/Users/peter/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:62:22: error: 'BitOrder' has not been declared
                      BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
                      ^~~~~~~~
/Users/peter/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:67:22: error: 'BitOrder' has not been declared
                      BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
                      ^~~~~~~~
/Users/peter/Documents/Arduino/libraries/Adafruit_BusIO/Adafruit_SPIDevice.h:88:3: error: 'BitOrder' does not name a type
   BitOrder _dataOrder;

This happens also when I try to compile the other TFT relatext examples.

Environment:
Arduino 1.8.13 (MacOS)
Adafruit Bus IO library 1.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant