From d007481c20342eb3d3dd7bf89fbb1f5f82a24cc4 Mon Sep 17 00:00:00 2001 From: Sheikah <> Date: Thu, 19 Jan 2023 00:16:36 +0800 Subject: [PATCH] improve print --- Core/ST7735/UI/ui.c | 1 - monitor.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 monitor.sh diff --git a/Core/ST7735/UI/ui.c b/Core/ST7735/UI/ui.c index 576059d..959e214 100644 --- a/Core/ST7735/UI/ui.c +++ b/Core/ST7735/UI/ui.c @@ -15,7 +15,6 @@ void ui_text_number18x32(uint32_t num, uint16_t x, uint16_t y, uint16_t color) { div = div / 10; while (div > 0) { tmp = (num / div) % 10; - printf("div: %d x: %d tmp: %d\n", div, x, tmp); mimg_Area area = mimg_get_tile_area(IMG_DIGI_18_32, 10, 1, tmp); mimg_draw(ST7735_DrawPixel, x, y, color, IMG_DIGI_18_32, area); x = x + 18; diff --git a/monitor.sh b/monitor.sh new file mode 100644 index 0000000..e502e4b --- /dev/null +++ b/monitor.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python -m mpypack.cli -p /dev/ttyACM0 repl