adafruit / Adafruit_TouchScreen

Arduino library for 4-wire resistive touchscreens
http://www.adafruit.com/index.php?main_page=product_info&cPath=35&products_id=333
Other
276 stars 212 forks source link

Added ifdef to allow Teensy 4.1 to work #35

Closed zeitue closed 3 years ago

zeitue commented 3 years ago

Scope: this allows the code to run on the Teensy 4.1's processor The TouchScreen.h file was modified to include the i.MX RT1060 under the 32 bit RwReg

This change would only effect the Teensy 4.1 and other boards which use the i.MX RT1060, it should allow others to work with this library as well.

The tests appear to work.

ladyada commented 3 years ago

please run clang-format on the file so it passes CI!

zeitue commented 3 years ago

I ran clang format with the default settings on the file which I changed clang-format -i TouchScreen.h

ladyada commented 3 years ago

it worked!