I have a raspberry pi pico running a simple hello world program (below). When I run the program on the pico and look at VS code’s built in serial monitor, nothing happens. However, when I look at the arduino IDE’s serial monitor, I see a bunch of “Hello, world!”‘s as I should. This works similarly in the PUTTY serial monitor.
Pi Pico code:
#include <stdio.h>
#include "pico/stdlib.h"
int main() {
stdio_init_all();
while (true) {
printf("Hello, world!n");
sleep_ms(1000);
}
return 0;
}
I have tried adjusting baud rates to no success. When I power off the raspberry pi pico, the serial terminal in VS code closes, so I know that there is some sort of connection and VS code isn’t just looking at the wrong com port somehow.