My GoogleFu seems to be failing me. The Pico SDK provides a means to detect when a USB serial connection has been established from a host, allows waiting until there is such a connection -But I can't find any equivalent for 'stdio_usb_connected()' with RP2040 MicroPython.
Anyone know what it would be ?
Code:
stdio_init_all(); while (!stdio_usb_connected()) { sleep_ms(100); }
Anyone know what it would be ?
Statistics: Posted by hippy — Fri Jan 19, 2024 1:24 pm — Replies 1 — Views 64