Pi Pico in Arduino framework, printing messages on startup

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Pi Pico in Arduino framework, printing messages on startup

Post by /RaspberryPi »

Hi, today I faced a problem with displaying text to serial monitor only in setup() function. In setup() anything I print don't show in serial monitor but in loop() everything works as it should be. It's looks like a Pi Pico is avoiding to display messages from setup() function. Is there a solution to print text from setup function on Pi Pico?

#include void setup() { Serial.begin(115200); Serial.println("TEST in setup"); // does not work } void loop() { // put your main code here, to run repeatedly: Serial.println("TEST in loop"); // works delay(3000); }
submitted by /u/xspace18
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”