wifi scan: Enable USB output
It tripped me up that these examples required the use of a serial adapter, rather than working via usb serial.
This should be targeted against the develop branch rather than master.
Yeah, i mean we haven't really gone thru and made all the examples with USB stdio.
You could try passing -DPICO_STDIO_USB=1 to your cmake build and see what breaks; that should add stdio USB to everything (some things presumably will not work - we would need to at least disable it for the TinyUSB examples), but worth looking at as an option
It's probably a fair comment that we (or is it just me) wrongly default the examples to using the uart. If anything requires the user to look at the output it should default to usb? This example certainly works with this change but maybe we need to check for other issues like this?
It's probably a fair comment that we (or is it just me) wrongly default the examples to using the uart. If anything requires the user to look at the output it should default to usb? This example certainly works with this change but maybe we need to check for other issues like this?
Yes, it would be better if it defaulted to USB rather than Serial UART.
https://github.com/raspberrypi/pico-examples/issues/321
Closed in favour of the above issue which will deal with the issue
Thanks for your attention to this. subscribed to the new bug.