Wio terminal and 'DDRD' error

Hi I downloaded the sample and I see what the problem is.

For some reason, the Seeed_AMG8833 library includes the TFTv2 library (which is a library for this TFT screen https://www.seeedstudio.com/2-8-TFT-Touch-Shield-V2-0.html ).

The TFTv2 library uses registers that only exist on the Atmel ATMega chips (DDRD is a pin direction register). It does NOT exist on the WIO Terminal’s SAMD51 chip (it’s pin direction register is named PINCFGy, not DDRD).

The good news is I simply went to the library directory and deleted the two files that pertain to the TFTv2 device. They are named TFTv2.cpp and TFTv2.h. The library can be found in your libraries directory where your sketches are stored.

The code at the link ansonhe97 posted compiled https://wiki.seeedstudio.com/Wio-Terminal-Thermal-Camera/ and I ‘assume’ it works. I don’t have an AMG8833 to test.

Let me know if this works.