How to turn Arduino code into ESP Easy Mega plugin for ESP8266 / ESP32. Example with AMG8833 thermal camera 64 pixels
Stay in Touch
Don’t miss the new projects and tutorials! Subscribe to the weekly newsletter.
Tried to follow the tutorial but the define_plugin_sets.h is not in the src folder instead it is in srcsrcCustomBuild . I added the plugin to the list but during compilation I didn't see it being used.... Is there something changed? What can I do to include it?
Hi, I am using PlatforIO (on VSCode) to build. I am trying to write a custom plugin for a stepper motor, which currently does not exist in ESPEasy. Even though you recommend to have a working code first before building it, writing a code for a stepper motor is fairly simple. My struggle is learning how to write the custom plugin, follow necessary procedures and have a working firmware with my custom plugin.
Currently I am getting errors on platformIO when I try to build which I am unable to even comprehend. I was wondering if anyone could help me?
Hello, I am trying to write a custom plugin for a stepper motor (which does not exist in ESPEasy). I am using PlatformIO (VSCode). I will eventually flash the new firmware on my nodeMCU (esp8266) in order to control a stepper motor via openHAB [mqtt + Mosquitto] - all of which are already running on a Raspberry Pi.
These are my steps:
Added the AccelStepper library inside this folder: ESPEasy\lib
Put my plugin file "_P555_stepper.ino" here: ESPEasy-mega\src
In the file __Plugin.ino, I added these lines:
//custom plugin - stepper - mkhaled
In the file called "define_plugin_sets.h" at this location: C:\Users\Mkhaled\Downloads\ESPEasy-mega\src\src\CustomBuild
I added this: #define USES_P555 //stepper plugin
When I try to build the ESP-MEGA project folder with my plugin in it, it throws a lot of errors. Could someone please help? I have hit a dead-end and unable to proceed. On the attached file I have copied the errors that comes up when I try to build on platformIO. Once I have figured out the process of build + flash new firmware, I'll adapt my plugin code for stepper motor control.
Hello Christophe, Joining late here so a bit off. =Does...
By Fixingthingsguy, 2 weeks ago
reemplace WebServer for ESP8266WebServer
By chall, 2 weeks ago
Nice looking watches these are
By melissachris, 2 weeks ago
This is nice & impressive
By michelletaylor, 2 weeks ago
Thanks for this guide. I followed it on a DS218+ as a b...
By Otopil, 3 weeks ago
Typo, maybe 2018?:"ESP32-WROVER This generation launc...
By sergio, 3 weeks ago
Hello!Thanks for the tutorial. I have followed the s...
By Ramon, 4 weeks ago
Hi, I read through your post and found it very useful t...
By KevinPaul, 1 month ago