initial commit

This commit is contained in:
2021-08-12 11:44:15 +02:00
commit df556064d8
21 changed files with 239 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#define LCD_SDA PB3
#define LCD_SCL PB6
#define THERM_CS PA4
#define THERM_DO PA7
#define THERM_CL PA6
#define BUt_LEFT PB15
#define BUt_RIGHT PA10
#define BUT_UP PA11
#define BUT_DOWN PA9
#define BUT_CENTER PA8
#define HEAT_OUT PA2

View File

@@ -0,0 +1,10 @@
#include "button.h"
void initButton(void)
{
}
void handleButton(void)
{
}

View File

@@ -0,0 +1,7 @@
#pragma once
#include "Arduino.h"
#include "board.h"
void initButton(void);
void handleButton(void);

View File

@@ -0,0 +1,12 @@
#include "heater.h"
void initHeater(void)
{
}
void handleHeater(void)
{
}

View File

@@ -0,0 +1,7 @@
#pragma once
#include "Arduino.h"
#include "board.h"
void initHeater(void);
void handleHeater(void);

View File

@@ -0,0 +1,12 @@
#include "lcd.h"
void initLCD(void)
{
}
void handleLCD(void)
{
}

View File

@@ -0,0 +1,6 @@
#include "Arduino.h"
#include "board.h"
void initLCD(void);
void handleLCD(void);

View File

@@ -0,0 +1,24 @@
#include <Arduino.h>
#include "board.h"
#include "lcd.h"
#include "thermo.h"
#include "button.h"
#include "heater.h"
void setup() {
// put your setup code here, to run once:
initLCD();
initThermo();
initButton();
initHeater();
}
void loop() {
// put your main code here, to run repeatedly:
handleLCD();
handleThermo();
handleButton();
handleHeater();
}

View File

@@ -0,0 +1,12 @@
#include "thermo.h"
void initThermo(void)
{
}
void handleThermo(void)
{
}

View File

@@ -0,0 +1,7 @@
#pragma once
#include "Arduino.h"
#include "board.h"
void initThermo(void);
void handleThermo(void);