You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mon, Apr 30, 2018, 3:58 PM SciLor ***@***.***> wrote:
The code is here:
https://github.com/SciLor/ESP8266_Hyperion_LED-Controller/blob/develop/HyperionRGB/EnhancedThread.h
You can reproduce the problem easily:
Create a new Arduino Sketch.
Create an *EnhancedThread.cpp* with:
#include "EnhancedThread.h"
void EnhancedThread::run() {
Thread::run();
}
and *EnhancedThread.h*
#include <Thread.h>
class EnhancedThread : public Thread {
public:
void
run(void);
};
Select the Wemos LOLIN32 or ESP32 Devboard as device.
Compile - error
Known workarounds: Copy the ArduinoThread lib into the projects folder or
combine the h+cpp file into one file.
Use Arduino / ESP8266 and it works fine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC9Vr21Ckyd0hB-7vSUTdN4_4bttTB_Yks5tt17dgaJpZM4RVsA1>
.
Activity
SciLor commentedon Apr 29, 2018
See SciLor/Hyperion_LED-Controller#34
ivanseidel commentedon Apr 30, 2018
Can you please check
#include <Thread.h>is the first included file from the library, and that it is indeed included?Also, please post the code here so we can understand better.
(Luckily, yesterday I was using a ESP32... but did not use it with ArduinoThread)
SciLor commentedon Apr 30, 2018
The code is here:
https://github.com/SciLor/ESP8266_Hyperion_LED-Controller/blob/develop/HyperionRGB/EnhancedThread.h
You can reproduce the problem easily:
Create a new Arduino Sketch.
Create an EnhancedThread.cpp with:
and EnhancedThread.h
Select the Wemos LOLIN32 or ESP32 Devboard as device.
Compile - error
Known workarounds: Copy the ArduinoThread lib into the projects folder or combine the h+cpp file into one file.
Use Arduino / ESP8266 and it works fine.
ivanseidel commentedon Apr 30, 2018
SciLor commentedon Apr 30, 2018
I have added #include <Thread.h> in the other 2 files without success. The error stays the same.
phoax commentedon Jul 26, 2018
I'm testing this lib with a standard ESP32 and Visual Code. It works fine.
SciLor commentedon Jul 26, 2018
I am using the Arduino Software
phoax commentedon Jul 31, 2018
This example is not working for you ?
https://github.com/ivanseidel/ArduinoThread/blob/master/examples/SimpleThread/SimpleThread.ino
patrickelectric commentedon Jul 31, 2018
I'm using this library with ESP32 without any problem. For nodemcu and wimos.