From 859c975654ae267f7748908144b62dce45a890a2 Mon Sep 17 00:00:00 2001 From: Claude Worker claude2 Date: Thu, 11 Jun 2026 02:03:13 +0200 Subject: [PATCH] feat(box3): larger QR for camera decode --- box3_voice/main/stimulus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/box3_voice/main/stimulus.c b/box3_voice/main/stimulus.c index 434bf77..f17aa02 100644 --- a/box3_voice/main/stimulus.c +++ b/box3_voice/main/stimulus.c @@ -25,9 +25,10 @@ esp_err_t stimulus_init(void) { s_qr_screen = lv_obj_create(NULL); lv_obj_set_style_bg_color(s_qr_screen, lv_color_white(), 0); - // 200 px QR, dark on white — high contrast for the OV3660 camera. + // 220 px QR (BOX-3 LCD is 320x240) — fills the screen height while the + // white background still provides the quiet zone quirc needs. s_qr = lv_qrcode_create(s_qr_screen); - lv_qrcode_set_size(s_qr, 200); + lv_qrcode_set_size(s_qr, 220); lv_qrcode_set_dark_color(s_qr, lv_color_black()); lv_qrcode_set_light_color(s_qr, lv_color_white()); lv_qrcode_update(s_qr, "zacus", 5);