Thomas Farstrike
9824221374
adc_mic works but brittle
2026-02-12 22:49:19 +01:00
Thomas Farstrike
887e24dac3
samples are being read but board crashes
2026-02-12 22:01:40 +01:00
Thomas Farstrike
07f7c43fa4
Work on adc_mic.c
...
I get values, but they are all 16380 (0x3FFC).
2026-02-12 21:23:15 +01:00
Thomas Farstrike
e8a4682486
Add debug logging
2026-02-12 18:39:52 +01:00
Thomas Farstrike
11d3ce1f10
Fix compilation
2026-02-12 17:30:05 +01:00
Thomas Farstrike
4ee02fbbc8
Add experimental adc_mic.c
2026-02-12 16:27:21 +01:00
Thomas Farstrike
5d100dc026
Support more webcam resolutions
2025-12-02 19:09:35 +01:00
Thomas Farstrike
d43ec571d1
quirc_decode.c: less debug
2025-11-29 12:54:01 +01:00
Thomas Farstrike
3bc5151407
Fix colormode QR decoding
...
But somehow buffer size is 8 bytes...
2025-11-29 09:19:48 +01:00
Thomas Farstrike
8e0063c236
Camera app: cleanups
2025-11-28 21:18:18 +01:00
Thomas Farstrike
6b8b72a7a0
quirc_decode: back to memcpy for stability
2025-11-28 17:55:02 +01:00
Thomas Farstrike
8f4b3c5fbe
quirc_decode.c: attempt zero-copy but crashes and black artifacts
2025-11-28 15:11:12 +01:00
Thomas Farstrike
e42aa7d85b
quirc.c: comments
2025-11-28 14:14:59 +01:00
Thomas Farstrike
ef06b58ed6
Camera app: more resolutions, less memory use
2025-11-27 13:57:57 +01:00
Thomas Farstrike
7679db3607
Refactor camera code: DRY, fix memory leak, improve error handling
...
- Extract RGB conversion helper to eliminate duplication
- Unify save functions
- Fix buffer cleanup on error (memory leak)
- Move retry logic into init_internal_cam()
- Add error handling for failed camera reinitialization
- Consolidate button sizing with class variables
- Remove redundant initialization and unnecessary copies
2025-11-25 14:28:09 +01:00
Thomas Farstrike
01f7a1f84f
Improve camera
2025-11-25 09:25:36 +01:00
Thomas Farstrike
f8da36b630
camera: fix crash and other bugs
2025-11-25 09:05:56 +01:00
Thomas Farstrike
5bf790ed61
Simplify: no scaling
2025-11-25 08:19:11 +01:00
Thomas Farstrike
31e61e7d88
Improve camera
2025-11-25 07:59:48 +01:00
Thomas Farstrike
7e4585e91e
Camera: support more resolutions
...
It's a bit unstable, as it crashes if the settings button is clicked after startup,
but not when closing and then re-opening. Seems to work for 640x480, including QR decoding.
2025-11-24 23:35:50 +01:00
Thomas Farstrike
1ab4970dc7
Work towards changing camera resolution
2025-11-24 22:54:26 +01:00
Thomas Farstrike
eb342d3d3c
Add custom font preparation
2025-11-21 18:48:27 +01:00
Thomas Farstrike
e56f7f3d22
Remove unused hello_world.c
2025-10-25 19:19:25 +02:00
Thomas Farstrike
58220110ed
Remove useless hello_world.c
2025-10-24 23:19:15 +02:00
Thomas Farstrike
5c81ae4340
Disable webcam stuff on macOS
2025-10-24 23:18:35 +02:00