forked from liz/dragon
Prepare for adding socket connection
This commit is contained in:
parent
726194ca61
commit
a8fd9abd49
10
src/main.cpp
10
src/main.cpp
@ -16,11 +16,19 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
U8G2_SSD1309_128X64_NONAME2_1_4W_HW_SPI disp(U8G2_R0, /* cs=*/ 15, /* dc=*/ 2, /* reset=*/ 16);
|
U8G2_SSD1309_128X64_NONAME2_1_4W_HW_SPI disp(U8G2_R0, /* cs=*/ 15, /* dc=*/ 2, /* reset=*/ 16);
|
||||||
double progress = 0;
|
|
||||||
|
// Socket data variables
|
||||||
|
double progress = 0.0;
|
||||||
|
uint64 timeRemaining = 0;
|
||||||
|
uint64 timeElapsed = 0;
|
||||||
|
uint8 hotendTemp = 0;
|
||||||
|
uint8 buildPlateTemp = 0;
|
||||||
|
|
||||||
// TODO:
|
// TODO:
|
||||||
// 1. Add WPA2 and connect QR to display
|
// 1. Add WPA2 and connect QR to display
|
||||||
// "WIFI:S:"+ssid+";T:WPA;P:"+pass+";;"
|
// "WIFI:S:"+ssid+";T:WPA;P:"+pass+";;"
|
||||||
|
// 2. Use config.h for printer spec for now
|
||||||
|
// 3. Add webfig menu for selecting a printer
|
||||||
|
|
||||||
void statusMsg(String msg){
|
void statusMsg(String msg){
|
||||||
disp.firstPage();
|
disp.firstPage();
|
||||||
|
Loading…
Reference in New Issue
Block a user