code.py

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.

This guide was first published on Jan 29, 2020. It was last updated on May 31, 2021.

This page (Details: Main Module) was last updated on Jan 25, 2020.

Text editor powered by tinymce.