We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9658184 commit adce7edCopy full SHA for adce7ed
2 files changed
internal_filesystem/apps/com.example.camtest/assets/camtest.py
@@ -209,7 +209,10 @@ def init_cam():
209
210
if cam or use_webcam:
211
build_ui()
212
+ count=0
213
while appscreen == lv.screen_active() and keepgoing is True:
214
+ print(f"capture nr {count}")
215
+ count += 1
216
try_capture()
217
time.sleep_ms(100) # Allow for the MicroPython REPL to still work. Reducing it doesn't seem to affect the on-display FPS.
218
print("App backgrounded, deinitializing camera...")
webcam_test/webcam_capture.c
@@ -185,7 +185,7 @@ int main() {
185
return -1;
186
}
187
188
- if (capture_frames(100) < 0) {
+ if (capture_frames(1000) < 0) {
189
printf("Frame capture failed\n");
190
deinit_webcam();
191
0 commit comments