-
Notifications
You must be signed in to change notification settings - Fork 14
/
DIY-Thermocam.ino
60 lines (53 loc) · 1 KB
/
DIY-Thermocam.ino
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
*
* DIY-Thermocam Firmware
*
* 2014-2016 by Max Ritter
*
* http://www.diy-thermocam.net
* https://github.com/maxritter/DIY-Thermocam
*
*/
/* Current firmware version */
#define Version "FW Version 1.06"
/* Libraries */
#include <ADC.h>
#include <i2c_t3.h>
#include <SdFat.h>
#include <SPI.h>
#include <TimeLib.h>
#include <EEPROM.h>
#include <Bounce.h>
#include <UTFT_Buttons.h>
#include <UTFT.h>
#include <Touchscreen.h>
#include <Camera.h>
/* General Includes */
#include "General/ColorSchemes.h"
#include "General/GlobalItems.h"
#include "General/MethodDefines.h"
/* Modules */
#include "Hardware/Hardware.h"
#include "GUI/GUI.h"
#include "Thermal/Thermal.h"
/* Main Entry point */
void setup()
{
//Init Hardware
initHardware();
//Read EEPROM settings
if (checkEEPROM()) {
//Return to connection menu when coming from Mass storage
connectionMenu();
connectionMenuHandler();
}
else
//Go to the live Mode
liveMode();
}
/* Loop forever */
void loop()
{
//Main Menu Handler
mainMenuHandler();
}