Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

ESP32 / LOLIN32 - ArduinoThread not working as librariy #34

Copy link
Copy link
@SciLor

Description

@SciLor
Issue body actions

The ArduinoThread library seem to have a bug on the ESP32 Platform. Workaround is to copy the lib into the HyperionRGB Project folder or to combine the EnhancedThread.h and EnhancedThread.cpp file.

In file included from sketch\EnhancedThread.cpp:1:0:
EnhancedThread.h:7: error: expected class-name before '{' token
 class EnhancedThread : public Thread {
                                      ^
sketch\EnhancedThread.cpp: In member function 'void EnhancedThread::run()':
EnhancedThread.cpp:4: error: 'Thread' has not been declared
   Thread::run();
   ^
EnhancedThread.cpp:6: error: 'Thread' has not been declared
     Thread::enabled = false;
     ^
sketch\EnhancedThread.cpp: In member function 'void EnhancedThread::runIfNeeded()':
EnhancedThread.cpp:10: error: 'Thread' has not been declared
   if(Thread::shouldRun())
      ^
EnhancedThread.cpp:11: error: 'Thread' has not been declared
     Thread::run();
     ^
sketch\EnhancedThread.cpp: In member function 'void EnhancedThread::reset()':
EnhancedThread.cpp:15: error: 'Thread' has not been declared
   Thread::enabled = true;
   ^
EnhancedThread.cpp:16: error: 'Thread' has not been declared
   Thread::runned();
   ^
sketch\EnhancedThread.cpp: In member function 'long unsigned int EnhancedThread::getInterval()':
EnhancedThread.cpp:23: error: 'interval' was not declared in this scope
   return interval;
          ^

@ivanseidel

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.