Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
maxritter committed Feb 1, 2017
1 parent 40f863a commit 6c0b392
Show file tree
Hide file tree
Showing 47 changed files with 20,962 additions and 1,413 deletions.
80 changes: 80 additions & 0 deletions DIY-Thermocam.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
*
* MAIN SKETCH - Main entry point for the firmware
*
* DIY-Thermocam Firmware
*
* GNU General Public License v3.0
*
* Copyright by Max Ritter
*
* http://www.diy-thermocam.net
* https://github.com/maxritter/DIY-Thermocam
*
*/

/* Current firmware version */
#define Version "Firmware 2.37 from 01.02.2017"
#define fwVersion 237

/* External Libraries */

#include "Libraries/SPI/SPI.h"
#include "Libraries/I2C/i2c_t3.h"
#include "Libraries/EEPROM/EEPROM.h"
#include "Libraries/ADC/ADC.h"
#include "Libraries/Metro/Metro.h"
#include "Libraries/Time/Time.h"
#include "Libraries/Bounce/Bounce.h"
#include "Libraries/SdFat/SdFat.h"

/* General Includes */

#include "General/GlobalDefines.h"
#include "General/GlobalVariables.h"
#include "General/GlobalMethods.h"
#include "General/ColorSchemes.h"

/* Modules */

#include "Hardware/Hardware.h"
#include "GUI/GUI.h"
#include "Thermal/Thermal.h"

/* Main Entry point */

void setup()
{
//Init the hardware components
initHardware();

//Check for firmware upgrade done
checkFWUpgrade();

//Enter USB connection if no display attached
if (checkNoDisplay())
serialInit();

//Check for hardware issues
checkDiagnostic();

//Do the first start setup if required
if (checkFirstStart())
firstStart();

//Read all settings from EEPROM
readEEPROM();

//Show the live mode helper if required
if (checkLiveModeHelper())
liveModeHelper();

//Go to the live Mode
liveMode();
}

/* Loop not used */

void loop()
{
}
22 changes: 22 additions & 0 deletions DIY-Thermocam.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DIY-Thermocam", "DIY-Thermocam.vcxproj", "{C5F80730-F44F-4478-BDAE-6634EFC2CA88}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Debug|x86.ActiveCfg = Debug|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Debug|x86.Build.0 = Debug|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Release|x86.ActiveCfg = Release|Win32
{C5F80730-F44F-4478-BDAE-6634EFC2CA88}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
221 changes: 221 additions & 0 deletions DIY-Thermocam.vcxproj

Large diffs are not rendered by default.

Loading

0 comments on commit 6c0b392

Please sign in to comment.