Close

made thermal code compatible with universal adafruit display drivers

A project log for spi write up to 64 colors at a time on Arduino!

amg8833 equivilent sensor thermal cam is a perfect example of how to write faster with spi lcd displays. 128x128 sample fast on Arduino.

jamesdanielvjamesdanielv 10/07/2018 at 00:460 Comments

* as long as display driver includes pushpixel() and setwindow() commands

i've created a wrapper that converts my multi pixel commands into commands that are universally recognized by adafruit spi and parallel display drivers. they perform about 7-10 times faster on arduino that regular drivers and provide compatibility for test purposes. the spi optimizations are lost in this wrapper as doing the optimizations for spi requires modifying the drives themselves.

to allow this wrapper to work change

//#define workAnyAdafruitDisplay true 

if you have an st77xx display set it to false because the other method is still 2-4 times faster

//#define workAnyAdafruitDisplay false

link is here

https://github.com/jamesdanielv/thermalcam/blob/updates-(possibly-unstable)/thermal_cam64x64_compatible_adrafruitdisplays.zip

after further testing will release it to master branch

Discussions