continue work on es8311
This commit is contained in:
+2
-2
@@ -69,7 +69,7 @@ void app_main(void) {
|
||||
printf("%s\n", buf);
|
||||
|
||||
st7789_draw_string(30, 30, buf, 0x07E0, 0x0000, true, fontHitachi);
|
||||
audio_beep();
|
||||
//audio_test_tone();
|
||||
}
|
||||
|
||||
bmi270_data_t bmiData;
|
||||
@@ -85,7 +85,7 @@ void app_main(void) {
|
||||
|
||||
snprintf(buf, sizeof(buf), "BAT: %d%%(%.3fV)", getBatteryPercentage(),
|
||||
getBatteryVoltage());
|
||||
st7789_draw_string(150, 10, buf, 0x07E0, 0x0000, true, fontHitachi);
|
||||
st7789_draw_string(140, 10, buf, 0x07E0, 0x0000, true, fontHitachi);
|
||||
st7789_flush();
|
||||
|
||||
vTaskDelay(pdMS_TO_TICKS(20)); // 50 fps max
|
||||
|
||||
Reference in New Issue
Block a user