
Template Software STM32F429 Discovery Kit with SCD41 CO2 Sensor
Dependencies: LCD_DISCO_F429ZI TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: main.cpp
- Revision:
- 5:49f24d9bfae9
- Parent:
- 0:91c6ab790bd7
- Child:
- 6:3470127df0ab
--- a/main.cpp Wed Mar 10 15:02:19 2021 +0000 +++ b/main.cpp Wed Mar 10 15:45:20 2021 +0000 @@ -4,7 +4,7 @@ LCD_DISCO_F429ZI lcd; TS_DISCO_F429ZI ts; - + int main() { TS_StateTypeDef TS_State; @@ -16,7 +16,7 @@ lcd.DisplayStringAt(0, LINE(5), (uint8_t *)"TOUCHSCREEN", CENTER_MODE); lcd.DisplayStringAt(0, LINE(6), (uint8_t *)"DEMO", CENTER_MODE); - wait(1); + ThisThread::sleep_for(1s); status = ts.Init(lcd.GetXSize(), lcd.GetYSize()); @@ -37,7 +37,7 @@ lcd.DisplayStringAt(0, LINE(6), (uint8_t *)"INIT OK", CENTER_MODE); } - wait(1); + ThisThread::sleep_for(1s); lcd.Clear(LCD_COLOR_BLUE); lcd.SetBackColor(LCD_COLOR_BLUE); lcd.SetTextColor(LCD_COLOR_WHITE);