<?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[Porting StepMotor module example ?]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I am currently trying to use a StepMotor Module (13.2, version 1.0), with a Core2.<br />
The example StepmotorPulse_M039.ino includes some libraries:<br />
#include "M5Stack.h"<br />
#include "Module_Stepmotor.h"<br />
#include "freertos/FreeRTOS.h"<br />
#include "freertos/task.h"</p>
<p dir="auto">And all seem up to date.<br />
However, compilation fails:</p>
<p dir="auto">Compilation error: 'ledcSetup' was not declared in this scope</p>
<p dir="auto">I read in many discussions that M5Stack.h should be replacer by M5Unified.h and FastLED.h</p>
<p dir="auto">Is the example broken by new libraries ? Shall I downgrade the libraries ? Or change the example ?</p>
<p dir="auto">Thanks in advance for any advice, link or reading.</p>
]]></description><link>https://community.m5stack.com/topic/7133/porting-stepmotor-module-example</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 03:46:10 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7133.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Dec 2024 18:09:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Porting StepMotor module example ? on Tue, 21 Jan 2025 14:37:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">In case somebody would be interested, <a href="https://wiki.fablab.sorbonne-universite.fr/BookStack/books/motorisation-banc-de-mesure/page/adaptation-de-lexemple-a-la-nouvelle-api-espressif" target="_blank" rel="noopener noreferrer nofollow ugc">here is</a> the modified version of the example code StepmotorPulse_M039 working with M5Unified.h and Espressif API updates.</p>
<p dir="auto">Tested with an old M5Basic.<br />
In retrospect, it's relatively obvious.</p>
]]></description><link>https://community.m5stack.com/post/27970</link><guid isPermaLink="true">https://community.m5stack.com/post/27970</guid><dc:creator><![CDATA[ChSimon]]></dc:creator><pubDate>Tue, 21 Jan 2025 14:37:30 GMT</pubDate></item><item><title><![CDATA[Reply to Porting StepMotor module example ? on Tue, 31 Dec 2024 15:52:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chsimon" aria-label="Profile: ChSimon">@<bdi>ChSimon</bdi></a> My pleasure!<br />
M5Stack releases a new gadget or two every week!<br />
They need to support us Arduino IDE guys and the UIFlow with new drivers (libraries) and examples.<br />
The esp32S3 variant has been a nightmare for then, apparently.<br />
The 'esp32 by Espressif' board def,  shift to ver3 was seismic.<br />
This Community website is a resource for them because we find the problems and complain. then their engineers hunt it down and correct it.<br />
The new Unified library helps a lot.<br />
We have a DIY hobby!<br />
Cheers, Terry.</p>
]]></description><link>https://community.m5stack.com/post/27660</link><guid isPermaLink="true">https://community.m5stack.com/post/27660</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Tue, 31 Dec 2024 15:52:15 GMT</pubDate></item><item><title><![CDATA[Reply to Porting StepMotor module example ? on Tue, 31 Dec 2024 11:23:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> Huge thanks !</p>
<p dir="auto">Randomnerdtutorial link is the best Christmas Gift I've received this year !</p>
<p dir="auto">Why does not M5Stack update the examples accordingly ? Not enough human resources ?<br />
This is deeply misleading, is not it ?</p>
]]></description><link>https://community.m5stack.com/post/27656</link><guid isPermaLink="true">https://community.m5stack.com/post/27656</guid><dc:creator><![CDATA[ChSimon]]></dc:creator><pubDate>Tue, 31 Dec 2024 11:23:34 GMT</pubDate></item><item><title><![CDATA[Reply to Porting StepMotor module example ? on Mon, 30 Dec 2024 20:45:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chsimon" aria-label="Profile: ChSimon">@<bdi>ChSimon</bdi></a><br />
esp32 by Espressif ver 3 brought changes and headaches.<br />
you can still compile with ver 2.0.17.<br />
Ver 3 changes are outlined here:<br />
<a href="https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/" target="_blank" rel="noopener noreferrer nofollow ugc">https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/</a><br />
The third party vendors, such as, but not limited to, M5Stack had to scramble, back peddle if you will.<br />
I use ver 3.1.0 which is stable for all my projects.<br />
'ledcSetup' was "deprecated".</p>
]]></description><link>https://community.m5stack.com/post/27649</link><guid isPermaLink="true">https://community.m5stack.com/post/27649</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Mon, 30 Dec 2024 20:45:37 GMT</pubDate></item></channel></rss>