adafruit / Adafruit_ILI9341

Library for Adafruit ILI9341 displays
398 stars 278 forks source link

Default to faster SPI for teensy 3.5/3.6 #54

Closed marcmerlin closed 5 years ago

marcmerlin commented 5 years ago

This brings screenfill down from 954115 to 416305. It's still twice as slow as it should/can be, but better than the previous value which is slower than even software SPI

marcmerlin commented 5 years ago

I found a teensy 3.2, tested my old change, nothing broke and it was just as slow as before. Then with patch #2, I increased the speed to the same as 3.5/3.6, and it almost (but not quite) doubled the screenfill speed. It's now down to 537224