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

SDK • Re: HELLO_USB uses USB, but Blink ... Not

$
0
0
I agree with all of the above.

I wonder if using the SDK printf instead of the NewLib would also work

Code:

#include "pico/stdlib"#include "pico/printf"
Then in CMakeLists.txt add pico_printf to the linked libraries.

As far as a USB CDC connection, I guess there is a timeout variable as well for bool stdio_usb_init (void) named PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS

https://www.raspberrypi.com/documentati ... 4f9eecc460

Also see #3 here for pretty much what hippy said (C SDK Readme).

Statistics: Posted by breaker — Thu Jan 29, 2026 9:34 pm



Viewing all articles
Browse latest Browse all 8037

Trending Articles