Quantcast
Viewing latest article 1
Browse Latest Browse All 4900

SDK • Re: No USB stdio after adding SPI

Actually that didn't work for me, I got
/home/bill/RaspberryPi/Pico/SPI_test/SPI_test.c: In function 'main':
/home/bill/RaspberryPi/Pico/SPI_test/SPI_test.c:105:11: warning: implicit declaration of function 'tud_cdc_connected'; did you mean 'stdio_usb_connected'? [-Wimplicit-function-declaration]
105 | while (!tud_cdc_connected()) {
| ^~~~~~~~~~~~~~~~~
| stdio_usb_connected
and it still lost the message. However, changing to

Code:

strio_usb_connected()
does seem to be effective!

Statistics: Posted by billp — Mon Apr 14, 2025 1:02 pm



Viewing latest article 1
Browse Latest Browse All 4900

Trending Articles