From 9f901b6554ec464f5cf58a77cc66316e8c25e464 Mon Sep 17 00:00:00 2001 From: -help Date: Sun, 28 Jan 2024 03:07:17 +0200 Subject: [PATCH] Merge Conflic resolve --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index bfba98e..9ebda5c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,6 +16,7 @@ + #define MOSTFET_PIN 17 double currentTemp = 0; @@ -30,6 +31,8 @@ OledDisplay oled = OledDisplay(); TemperatureController temperatureController ; +TFT_Display tftDisplay ; + @@ -89,6 +92,8 @@ void loop() Serial.println("State changed from " + String(STATE_STR(state)) + " to " + String(STATE_STR(newState))); // State changed from state to newState (user input or wifi input needs to be above here) if (newState == PREHEAT) { + + tftDisplay.init(&chosenReflowProfile); chosenReflowProfile.start(); // Start the PID pidController.start();