<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Serial trouble at startup with TimerCamX and Arduino]]></title><description><![CDATA[<p dir="auto">I'm having wierd trouble with serial debug output with a TimerCamX in the Arduino IDE - serial output sent early in the run is lost, replaced with a string of box characters:</p>
<p dir="auto"><img src="/assets/uploads/files/1711996630317-88085b03-8889-4982-9a91-3d2c5251588e-image-resized.png" alt="0_1711996630376_88085b03-8889-4982-9a91-3d2c5251588e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is from a demo made from Blink, for simplicity, but my more complex sketch suffers the same problem. I'm running Arduino IDE 2.3.2 with M5Stack 2.1.1, building for M5Stack-Timer-Cam.</p>
<p dir="auto">Here's the demo code:</p>
<p dir="auto">void setup() {<br />
// initialize digital pin LED_BUILTIN as an output.<br />
pinMode(LED_BUILTIN, OUTPUT);</p>
<p dir="auto">Serial.begin(9600);</p>
<p dir="auto">Serial.println("Starting 1");</p>
<p dir="auto">while (!Serial) {<br />
; // wait for serial port to connect. Needed for native USB<br />
}</p>
<p dir="auto">Serial.println("Starting 2");</p>
<p dir="auto">delay(1000);</p>
<p dir="auto">Serial.println("Starting 3");</p>
<p dir="auto">}</p>
<p dir="auto">// the loop function runs over and over again forever<br />
void loop() {<br />
digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)<br />
delay(1000);                      // wait for a second<br />
digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW<br />
delay(1000);<br />
Serial.println("loop");                     // wait for a second<br />
}</p>
]]></description><link>https://community.m5stack.com/topic/6287/serial-trouble-at-startup-with-timercamx-and-arduino</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:13:27 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6287.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Apr 2024 18:44:10 GMT</pubDate><ttl>60</ttl></channel></rss>