Shang-Shian Liu
/
New_Time_Recorder
To Record the time of the car
Diff: main.cpp
- Revision:
- 7:db04197d3c6a
- Parent:
- 6:f5a4aa4a3fe4
diff -r f5a4aa4a3fe4 -r db04197d3c6a main.cpp --- a/main.cpp Wed Aug 12 03:59:37 2020 +0000 +++ b/main.cpp Thu Aug 13 15:48:37 2020 +0000 @@ -334,22 +334,22 @@ //row 1 show if(us_ticker_read()/m_1 - lcd_show_result_time < LCD_SHOW_PERIOD && last_cycle_time != 0 && mode != ACC) - lcd.printf("LCT : %.2f sec ",last_cycle_time); + lcd.printf("LCT: %.2f sec ",last_cycle_time); else if(us_ticker_read()/m_1 - lcd_end_time < LCD_SHOW_PERIOD && last_cycle_time != 0 && mode != ACC) lcd.printf("BC :%d ",best_cycle); else{ switch(mode){ case SING : - lcd.printf("SING B%dR%d C%d ",bt_state.read(),rf_state,cycle); + lcd.printf("SING B%dR%d C%d ",bt_state.read(),rf_state,cycle); break; case ACC: - lcd.printf("ACC B%dR%d C%d ",bt_state.read(),rf_state,cycle); + lcd.printf("ACC B%dR%d C%d ",bt_state.read(),rf_state,cycle); break; case SKID: - lcd.printf("SKID B%dR%d C%d ",bt_state.read(),rf_state,cycle); + lcd.printf("SKID B%dR%d C%d ",bt_state.read(),rf_state,cycle); break; case ENDU: - lcd.printf("ENDU B%dR%d C%d ",bt_state.read(),rf_state,cycle); + lcd.printf("ENDU B%dR%d C%d ",bt_state.read(),rf_state,cycle); break; } }