<?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[Topics tagged with arduino]]></title><description><![CDATA[A list of topics that have been tagged with arduino]]></description><link>https://community.m5stack.com/tags/arduino</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:04:39 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/tags/arduino.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Nov 2025 19:58:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Tab5 Display Power Save]]></title><link>https://community.m5stack.com/topic/7916/tab5-display-power-save</link><guid isPermaLink="true">https://community.m5stack.com/topic/7916/tab5-display-power-save</guid><pubDate>Thu, 27 Nov 2025 19:58:19 GMT</pubDate></item><item><title><![CDATA[I2c failure with MPU6050 component]]></title><description><![CDATA[More information
If I use M5Unified.h and then a begin of M5.begin(), the data is all zeros. If I take out the begin, then the data is correct. There must be something in the M5Unified that is restarting the Wire or taking over the I2C bus.
How can I correct this. It is a show stopper. If I can find a solution, then I will have to discard the M5Stack basic and go to a regular ESP32.
]]></description><link>https://community.m5stack.com/topic/7734/i2c-failure-with-mpu6050-component</link><guid isPermaLink="true">https://community.m5stack.com/topic/7734/i2c-failure-with-mpu6050-component</guid><dc:creator><![CDATA[Grandpa-G]]></dc:creator><pubDate>Sun, 03 Aug 2025 15:10:40 GMT</pubDate></item><item><title><![CDATA[PPS 13.2 Arduino Can not compile the example Sketch]]></title><description><![CDATA[@felmue Thank-you - I had completely misunderstood :-)
Simon
]]></description><link>https://community.m5stack.com/topic/7186/pps-13-2-arduino-can-not-compile-the-example-sketch</link><guid isPermaLink="true">https://community.m5stack.com/topic/7186/pps-13-2-arduino-can-not-compile-the-example-sketch</guid><dc:creator><![CDATA[plackettsj1]]></dc:creator><pubDate>Sat, 11 Jan 2025 14:25:20 GMT</pubDate></item><item><title><![CDATA[Arduino Export binary names changed (m5stick_c_plus to m5stack_stickc_plus) why?]]></title><link>https://community.m5stack.com/topic/6722/arduino-export-binary-names-changed-m5stick_c_plus-to-m5stack_stickc_plus-why</link><guid isPermaLink="true">https://community.m5stack.com/topic/6722/arduino-export-binary-names-changed-m5stick_c_plus-to-m5stack_stickc_plus-why</guid><pubDate>Thu, 22 Aug 2024 22:47:26 GMT</pubDate></item><item><title><![CDATA[PCB LED stick]]></title><description><![CDATA[@JohnSal Or, you can just stick a wooden popsicle stick on it, so it won't be flexible! :-)
]]></description><link>https://community.m5stack.com/topic/6520/pcb-led-stick</link><guid isPermaLink="true">https://community.m5stack.com/topic/6520/pcb-led-stick</guid><dc:creator><![CDATA[Matej&#x27;s Workshop]]></dc:creator><pubDate>Fri, 31 May 2024 18:59:54 GMT</pubDate></item><item><title><![CDATA[Serial trouble at startup with TimerCamX and Arduino]]></title><link>https://community.m5stack.com/topic/6287/serial-trouble-at-startup-with-timercamx-and-arduino</link><guid isPermaLink="true">https://community.m5stack.com/topic/6287/serial-trouble-at-startup-with-timercamx-and-arduino</guid><pubDate>Mon, 01 Apr 2024 18:44:10 GMT</pubDate></item><item><title><![CDATA[Anyone using PlatformIO?  Unable to get serial terminal to work.]]></title><description><![CDATA[Thanks guys adding the build flags fixed the blank serial terminal in PlatformIO.
]]></description><link>https://community.m5stack.com/topic/6280/anyone-using-platformio-unable-to-get-serial-terminal-to-work</link><guid isPermaLink="true">https://community.m5stack.com/topic/6280/anyone-using-platformio-unable-to-get-serial-terminal-to-work</guid><dc:creator><![CDATA[LukeS]]></dc:creator><pubDate>Sun, 31 Mar 2024 19:54:03 GMT</pubDate></item><item><title><![CDATA[C++ syntax question - Defining an object in a class that requires arguments?]]></title><description><![CDATA[@lukes said in C++ syntax question - Defining an object in a class that requires arguments?:

HardwareSerial

Maybe this solves your problem ...
class StaticClass {
private:
    int myContent;
public:
    StaticClass(int v){myContent = v;}

    void printout(){printf("%d\n",myContent);}
};
    

class TestClass {

public:
    //StaticClass myClass = StaticClass(42);    // With C11
    StaticClass myClass;
        
    TestClass() : myClass(42)
    {
    }
        
    void doit()
    {
        myClass.printout();
    }
};


int main(void)
{
    TestClass tc;
    
    tc.doit();
}

]]></description><link>https://community.m5stack.com/topic/6157/c-syntax-question-defining-an-object-in-a-class-that-requires-arguments</link><guid isPermaLink="true">https://community.m5stack.com/topic/6157/c-syntax-question-defining-an-object-in-a-class-that-requires-arguments</guid><dc:creator><![CDATA[pstoehr]]></dc:creator><pubDate>Mon, 26 Feb 2024 17:01:14 GMT</pubDate></item><item><title><![CDATA[M5 RS485 Modbus slave sample code does not compile]]></title><description><![CDATA[I'm having the same problem testing a similar example in https://github.com/m5stack/ATOM_DTU_LoRaWAN/blob/master/examples/Modbus/ModBus-RTU/Slave/Slave.ino
Does anyone have a working example to share?
]]></description><link>https://community.m5stack.com/topic/6099/m5-rs485-modbus-slave-sample-code-does-not-compile</link><guid isPermaLink="true">https://community.m5stack.com/topic/6099/m5-rs485-modbus-slave-sample-code-does-not-compile</guid><dc:creator><![CDATA[robertoubeperuzzo]]></dc:creator><pubDate>Sat, 17 Feb 2024 02:02:45 GMT</pubDate></item><item><title><![CDATA[Atom LED and serial port (not USB) on Atom Switch Kit with M5Unified]]></title><description><![CDATA[Hello @LukeS
I don't think the RGB LED has been integrated into M5Unified library for M5AtomLite. Even for M5AtomS3 the code for the RGB LED is kind of outside M5Unified library, e.g. in utility/LedDisplay.c.
All I can find in M5Unified is the GPIO definition for the RGB LED for different M5Stack devices. However I don't think they are used.
For M5AtomLite the RGB LED GPIO is (re-)defined and used from here.
And for M5AtomS3 it is (re-)defined and used from here.
Thanks
Felix
]]></description><link>https://community.m5stack.com/topic/6098/atom-led-and-serial-port-not-usb-on-atom-switch-kit-with-m5unified</link><guid isPermaLink="true">https://community.m5stack.com/topic/6098/atom-led-and-serial-port-not-usb-on-atom-switch-kit-with-m5unified</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 17 Feb 2024 01:00:51 GMT</pubDate></item><item><title><![CDATA[Interfacing COM.X SIM7020G NB-IOT module with Arduino&#x2F;STM32]]></title><description><![CDATA[@felmue  Thank you so much Felix !
Have a good day (:
]]></description><link>https://community.m5stack.com/topic/5418/interfacing-com-x-sim7020g-nb-iot-module-with-arduino-stm32</link><guid isPermaLink="true">https://community.m5stack.com/topic/5418/interfacing-com-x-sim7020g-nb-iot-module-with-arduino-stm32</guid><dc:creator><![CDATA[jeetS]]></dc:creator><pubDate>Sat, 24 Jun 2023 09:53:29 GMT</pubDate></item><item><title><![CDATA[&quot;A fatal error occurred: Timed out waiting for packet header&quot;]]></title><description><![CDATA[Have you got the correct port selected for the M5StickCPlus in arduino?
]]></description><link>https://community.m5stack.com/topic/5324/a-fatal-error-occurred-timed-out-waiting-for-packet-header</link><guid isPermaLink="true">https://community.m5stack.com/topic/5324/a-fatal-error-occurred-timed-out-waiting-for-packet-header</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Mon, 22 May 2023 11:05:07 GMT</pubDate></item><item><title><![CDATA[UHF RFID unit problems interfacing with arduino mega using code example from github]]></title><description><![CDATA[Hi @kasperhvid, any luck on that?
I was hoping to do the same but all I get is an obscure "ERROR" response back from the getVersion() method.
]]></description><link>https://community.m5stack.com/topic/5237/uhf-rfid-unit-problems-interfacing-with-arduino-mega-using-code-example-from-github</link><guid isPermaLink="true">https://community.m5stack.com/topic/5237/uhf-rfid-unit-problems-interfacing-with-arduino-mega-using-code-example-from-github</guid><dc:creator><![CDATA[pierrethr]]></dc:creator><pubDate>Fri, 21 Apr 2023 07:12:18 GMT</pubDate></item><item><title><![CDATA[Atom lite does not work with OTA]]></title><description><![CDATA[@kees No, its to do with the fact that not all browsers are written the same. for best results always use google chrome as its the most upto date with web development standards.
]]></description><link>https://community.m5stack.com/topic/5214/atom-lite-does-not-work-with-ota</link><guid isPermaLink="true">https://community.m5stack.com/topic/5214/atom-lite-does-not-work-with-ota</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 13 Apr 2023 14:39:29 GMT</pubDate></item><item><title><![CDATA[Unable to load new FW from Arduino IDE.]]></title><description><![CDATA[@teastain This is en backtrace decoded:
PC: 0x04d25826
EXCVADDR: 0x04d25824
Decoding stack results
0x40090d71: prvIdleTask at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c line 3382
0x4008f5b6: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
]]></description><link>https://community.m5stack.com/topic/5160/unable-to-load-new-fw-from-arduino-ide</link><guid isPermaLink="true">https://community.m5stack.com/topic/5160/unable-to-load-new-fw-from-arduino-ide</guid><dc:creator><![CDATA[fbritop]]></dc:creator><pubDate>Tue, 28 Mar 2023 02:07:35 GMT</pubDate></item><item><title><![CDATA[Core2 Default Partitioning in Arduino IDE 1.X]]></title><description><![CDATA[Hello, @wsanders
The app0 and app1 partitions are used for firmware update with rollback in case of failure.
It is also used by the OTA function.
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/ota.html
]]></description><link>https://community.m5stack.com/topic/5065/core2-default-partitioning-in-arduino-ide-1-x</link><guid isPermaLink="true">https://community.m5stack.com/topic/5065/core2-default-partitioning-in-arduino-ide-1-x</guid><dc:creator><![CDATA[mongonta555]]></dc:creator><pubDate>Mon, 20 Feb 2023 03:51:30 GMT</pubDate></item><item><title><![CDATA[M5Stack.h: No such file or directory with M5StickCPlus?]]></title><description><![CDATA[@wsanders At least with respect to the LCD library: The only function implemented so far to manipulate whole images is drawBitmap. drawJpg and drawJpgFile are commented out in https://github.com/m5stack/M5StickC-Plus/blob/master/src/M5Display.h so I assume they aren't working yet.
So my workflow for now is:

Save the image from gimp  in gimp's ".h" format. This is smaller than a xpm or bmp. You will get a static char *data structure of all the pixels in the image. The .h file includes a macro to extract the pixels:

#define HEADER_PIXEL(data,pixel) {
pixel[0] = (((data[0] - 33) &lt;&lt; 2) | ((data[1] - 33) &gt;&gt; 4)); 
pixel[1] = ((((data[1] - 33) &amp; 0xF) &lt;&lt; 4) | ((data[2] - 33) &gt;&gt; 2)); 
pixel[2] = ((((data[2] - 33) &amp; 0x3) &lt;&lt; 6) | ((data[3] - 33))); 
data += 4; 
}


Write your own function rgb888to565 to compress the pixels into a uint16_t.


Draw a bitmap of the image as fast as you can:


#include &lt;M5StickCPlus.h&gt;
#include "1.h"
int pixel[3];
// pointer fu to preserve the start of .h data
char *datastart;
uint16_t *bitmap;
void setup() {
M5.begin();
M5.Lcd.setRotation(3);
bitmap = (uint16_t *)malloc(height * width * 2);
}
void loop() {
M5.Lcd.fillScreen(GREEN);
datastart = data;
for (int16_t y=0; y &lt; height; y++) {
for (int16_t x=0; x &lt; width; x++) {
HEADER_PIXEL(data, pixel);
bitmap[60*y + x] = rgb888to565(pixel[0], pixel[1], pixel[2]);
}
}
M5.Lcd.drawBitmap(0,0,width,height,bitmap);
data = datastart;
}
Or you can use the Sprite library, which works well.
]]></description><link>https://community.m5stack.com/topic/5045/m5stack-h-no-such-file-or-directory-with-m5stickcplus</link><guid isPermaLink="true">https://community.m5stack.com/topic/5045/m5stack-h-no-such-file-or-directory-with-m5stickcplus</guid><dc:creator><![CDATA[wsanders]]></dc:creator><pubDate>Wed, 08 Feb 2023 20:22:00 GMT</pubDate></item><item><title><![CDATA[[Solved] &quot;#include &lt;M5Core2.h&gt;&quot; doesn&#x27;t compile]]></title><description><![CDATA[Well, it's working.
The path to my Windows profile has a space in it. I created a local account without a space, and my empty program compiled with no issues. Don't know if that's the reason. Very strange.
Makes me want to reinstall Ubuntu, or something.
Thanks for the replies, Terry.
]]></description><link>https://community.m5stack.com/topic/4977/solved-include-m5core2-h-doesn-t-compile</link><guid isPermaLink="true">https://community.m5stack.com/topic/4977/solved-include-m5core2-h-doesn-t-compile</guid><dc:creator><![CDATA[rh1972]]></dc:creator><pubDate>Thu, 12 Jan 2023 19:03:27 GMT</pubDate></item><item><title><![CDATA[M5Paper: fast update to display keyboard entries]]></title><link>https://community.m5stack.com/topic/4930/m5paper-fast-update-to-display-keyboard-entries</link><guid isPermaLink="true">https://community.m5stack.com/topic/4930/m5paper-fast-update-to-display-keyboard-entries</guid><pubDate>Fri, 30 Dec 2022 15:57:01 GMT</pubDate></item><item><title><![CDATA[Stange interaction between clock and temprature sensor setup]]></title><description><![CDATA[Hi @felmue and thanks for the help. I changed GPIO and it works now. Strange as input port 2 worked when the temperature sensor were implemented separably.
However I have spend enough time trying to make it work. So I will not conplain now that it is working.
Thanks again
]]></description><link>https://community.m5stack.com/topic/4574/stange-interaction-between-clock-and-temprature-sensor-setup</link><guid isPermaLink="true">https://community.m5stack.com/topic/4574/stange-interaction-between-clock-and-temprature-sensor-setup</guid><dc:creator><![CDATA[EricR]]></dc:creator><pubDate>Thu, 01 Sep 2022 12:04:21 GMT</pubDate></item></channel></rss>