diff --git a/reflow_plate_fw/include/ILI9341_STM32.h b/reflow_plate_fw/include/ILI9341_STM32.h index 7729c3a..3ac2bf3 100644 --- a/reflow_plate_fw/include/ILI9341_STM32.h +++ b/reflow_plate_fw/include/ILI9341_STM32.h @@ -28,7 +28,7 @@ //#define TFT_MOSI PA7 //#define TFT_SCLK PA5 #define TFT_DC PB1 -#define TFT_RST PA12 +#define TFT_RST PA8 #define TFT_CS PB0 diff --git a/reflow_plate_fw/src/board.h b/reflow_plate_fw/src/board.h index 53e65ff..e2a4161 100644 --- a/reflow_plate_fw/src/board.h +++ b/reflow_plate_fw/src/board.h @@ -3,18 +3,12 @@ // #define LCD_MOSI PA7 // #define LCD_SCLK PA5 -// #define LCD_RES PA12 +// #define LCD_RES PA8 // #define LCD_DC PB1 // #define LCD_CS PB0 -#define THERM_CS PB4 -#define THERM_SO PB5 +#define THERM_CS PB5 +#define THERM_SO PB4 #define THERM_CL PB6 -#define BUt_LEFT PB15 -#define BUt_RIGHT PA10 -#define BUT_UP PA11 -#define BUT_DOWN PA9 -#define BUT_CENTER PA8 - #define HEAT_OUT PA2 \ No newline at end of file diff --git a/reflow_plate_fw/src/status.cpp b/reflow_plate_fw/src/status.cpp index 94706ba..51a487e 100644 --- a/reflow_plate_fw/src/status.cpp +++ b/reflow_plate_fw/src/status.cpp @@ -11,6 +11,8 @@ void initStatus(void) { pinMode(LED_BUILTIN, OUTPUT); Serial.begin(115200); + delay(500); + Serial.println("Heat Plate controller V1"); } void handleStatus(void) diff --git a/reflow_plate_fw/src/thermo.cpp b/reflow_plate_fw/src/thermo.cpp index 7c80d13..c61c048 100644 --- a/reflow_plate_fw/src/thermo.cpp +++ b/reflow_plate_fw/src/thermo.cpp @@ -21,6 +21,7 @@ void handleThermo(void) if (timeNow - thermo_lastTime > THERMO_INTERVAL) { lastTemperature = thermocouple->readCelsius(); + Serial.printf("Thermocouple = %d\n",lastTemperature); } //delay(100); // optionally, only to delay the output of information in the example.