Search found 1 match

by sjh4255
Sat May 14, 2022 10:31 pm
Forum: Raspberry Pi microcontroller boards
Topic: rpi pico: How to detect that sys.stdout is connected
Replies: 3
Views: 3797

Re: rpi pico: How to detect that sys.stdout is connected

THANK YOU!!!! This was driving me nuts! Having a data-logger capture data (ex: temperature) and not erase the file was proving difficult. Even in the official PICO Handbook which works great when connected to a computer, but won't work as a headless data logger. Did a few tests, and the code works g...