Closed KurtE closed 5 years ago
hiya sorry for the delay - i forgot about this PR. we've completely refactored this library to use SPITFT as the low level driver https://github.com/adafruit/Adafruit-GFX-Library/blob/master/Adafruit_SPITFT.cpp so this PR is in conflict
if you'd like to adapt the PR to only change the examples, then we could probably merge it clean!
closing for now, let us know if you need help adding this to SPITFT (over in GFX :)
This update allows you to run on an Robotis OpenCR 1.0 board (http://www.robotis.us/opencr1-0/)
The changes were to add some sections of defines bases around #if defined(OPENCR), where it defines that it can not currently use the fast digitalWrites, plus the function names to use for different things like, what to use for Write16...
Note: To work this requires current code from the Robotis OpenCR project in the develop branch. The branch is located at: https://github.com/ROBOTIS-GIT/OpenCR/tree/develop. These changes should be propagated the next time Robotis updates their Arduino Board version.
I updated the SPI code on the OpenCR boards to use ESP32 like functions (SPI.write, write16, write32, writePixel).
The main thing I tested it with was the graphic test example program.