Thermal imager camera. -------------------------------------------------------------------------------- Code: /*______Import Libraries_______*/ #include <MCUFRIEND_kbv.h> MCUFRIEND_kbv tft; // hard-wired for UNO shields anyway. #include <TouchScreen.h> /*______End of Libraries_______*/ #include <Wire.h> #include <Adafruit_AMG88xx.h> #include "Adafruit_GFX.h" /*______Assign names to colors and pressure_______*/ #define BLACK 0x0000 //Black->White #define YELLOW 0x001F //Blue->Yellow #define RED 0xF800 //Red->Cyan #define PINK 0x07E0 //Green-> Pink #define CYAN 0x07FF //Cyan -> Red #define GREEN 0xF81F //Pink -> Green #define BLUE 0xFFE0 //Yellow->Blue #define WHITE 0xFFFF //White-> Black #define MINPRESSURE 10 #define MAXPRESSURE 1000 /*_______Assigned______*/ //#define DEBUG //Comment this out to remove the text over...

تعليقات
إرسال تعليق