Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8015

SDK • Re: No USB stdio after adding SPI

$
0
0
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 all articles
Browse latest Browse all 8015

Trending Articles