<?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[Garbage Values shown in Serial Monitor]]></title><description><![CDATA[<p dir="auto">Hi, I am new to M5 Atom lite. I programmed it with the following code to test its functionality, but i am getting garbage values on the serial monitor. I tried changing the serial monitor to all the baud rates available including 9600 and 115200, but no success.</p>
<p dir="auto">#include "M5Atom.h"<br />
void setup(){<br />
M5.begin(true, true, true); // Clear the serial port buffer and set the serial port baud rate to 115200. Initialize I2C. Initialize the LED matrix<br />
}</p>
<p dir="auto">void loop(){<br />
M5.update();    //You need to add m5.update () to read the state of the key, see System for details<br />
if (M5.Btn.isPressed()) {    //If the button is pressed<br />
Serial.println("Button is pressed.");<br />
}<br />
delay(20);<br />
}</p>
]]></description><link>https://community.m5stack.com/topic/4343/garbage-values-shown-in-serial-monitor</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 23:40:16 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4343.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Jun 2022 16:09:13 GMT</pubDate><ttl>60</ttl></channel></rss>