wip:
This commit is contained in:
@@ -137,14 +137,19 @@ void system_setup_task(void *pvParameters)
|
||||
zh_avr_160x_set_cursor(&lcd_handle, 2, 0);
|
||||
strcpy_P(text_buffer, text_firmware);
|
||||
zh_avr_160x_print_char(&lcd_handle, text_buffer);
|
||||
zh_avr_160x_set_cursor(&lcd_handle, 3, 0);
|
||||
strcpy_P(text_buffer, text_loading);
|
||||
zh_avr_160x_print_char(&lcd_handle, text_buffer);
|
||||
// zh_avr_160x_set_cursor(&lcd_handle, 3, 0);
|
||||
// strcpy_P(text_buffer, text_loading);
|
||||
// zh_avr_160x_print_char(&lcd_handle, text_buffer);
|
||||
// for (uint8_t i = 0; i <= 100; ++i)
|
||||
// {
|
||||
// zh_avr_160x_set_cursor(&lcd_handle, 3, 9);
|
||||
// zh_avr_160x_print_int(&lcd_handle, i);
|
||||
// zh_avr_160x_print_char(&lcd_handle, "%");
|
||||
// vTaskDelay(50 / portTICK_PERIOD_MS);
|
||||
// }
|
||||
for (uint8_t i = 0; i <= 100; ++i)
|
||||
{
|
||||
zh_avr_160x_set_cursor(&lcd_handle, 3, 9);
|
||||
zh_avr_160x_print_int(&lcd_handle, i);
|
||||
zh_avr_160x_print_char(&lcd_handle, "%");
|
||||
zh_avr_160x_print_progress_bar(&lcd_handle, 3, i);
|
||||
vTaskDelay(50 / portTICK_PERIOD_MS);
|
||||
}
|
||||
//** LCD default text print. **/
|
||||
|
||||
@@ -63,7 +63,7 @@ extern "C"
|
||||
const char text_company[] PROGMEM = "LLC AEROTECH";
|
||||
const char text_model[] PROGMEM = "ATE0003.000.000";
|
||||
const char text_firmware[] PROGMEM = "Firmware v1.0.0";
|
||||
const char text_loading[] PROGMEM = "Loading:";
|
||||
// const char text_loading[] PROGMEM = "Loading:";
|
||||
const char text_ac_power[] PROGMEM = "A/C POWER: ";
|
||||
const char text_component[] PROGMEM = "COMPONENT: ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user