mirror of
https://github.com/JonasunderscoreJones/PI-server-rack.git
synced 2025-10-23 01:29:18 +02:00
pushed some non functioning code
This commit is contained in:
parent
8d85068b48
commit
c60e0db035
14 changed files with 2364 additions and 11 deletions
12
arduino/src/LcdControl.cpp
Normal file
12
arduino/src/LcdControl.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
// #include "LcdControl.h"
|
||||
// #include "LiquidCrystal.h"
|
||||
|
||||
// //instance object
|
||||
// LcdControl::LcdControl(LiquidCrystal lcd) {
|
||||
// ;
|
||||
// }
|
||||
|
||||
// //when to update a cycle
|
||||
// LcdControl::update() {
|
||||
// ;
|
||||
// }
|
12
arduino/src/LcdControl.h
Normal file
12
arduino/src/LcdControl.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
// #ifndef LcdControl_h
|
||||
// #define LcdControl_h
|
||||
|
||||
// class LcdControl {
|
||||
|
||||
// private:
|
||||
|
||||
// public:
|
||||
|
||||
// };
|
||||
|
||||
// #endif
|
11
arduino/src/SerialHandler.cpp
Normal file
11
arduino/src/SerialHandler.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include "SerialHandler.h"
|
||||
#include "SoftwareSerial.h"
|
||||
|
||||
SerialHandler::SerialHandler(uint8_t rx, uint8_t tx) {
|
||||
update();
|
||||
}
|
||||
|
||||
//Serialhandler loop
|
||||
SerialHandler::update() {
|
||||
;
|
||||
}
|
14
arduino/src/SerialHandler.h
Normal file
14
arduino/src/SerialHandler.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
//header file with the SerialHandler class
|
||||
#ifndef SerialHandler_h
|
||||
#define SerialHandler_h
|
||||
|
||||
class SerialHandler {
|
||||
|
||||
private:
|
||||
|
||||
public:
|
||||
SerialHandler(uint8_t rx, uint8_t tx);
|
||||
void update();
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue