The main module, code.py, prepares and operates the Thermal Camera. It consists of the following major sections:
- Import and Initialize: Libraries, Devices, and Welcome Screen
- Constants and Variables: Display, Min/Max, and Alarm Threshold Values
- Helpers: Display, Buttons, and Setup Functions
- Display: Define Group Layers
- Primary Process: Setup and Loop
Things are started with importing libraries, establishing devices, and saying hello, detailed on the following pages.