-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error: undefined pwm functions? #330
Comments
Mmm... It should be loading the pwm.h file under libs folder... |
ESPurna uses ESP8266_new_pwm (https://github.com/StefanBruens/ESP8266_new_pwm) by Stefan Bruens. It's basically a drop-in replacement for the SDK pwm.cpp library, it is copied in the libs folder along the header file where the methods are defined. |
Original comment by Jonny Davey (Bitbucket: jonny190, GitHub: jonny190): I can see these file do exist under the lib folder but i'm still geting errors:
|
The Arduino IDE is a pain in the a**. It will work by moving the pwm.c file from "espurna/libs/pwm.c" to "espurna/pwm.c". |
Original comment by whosawhatsis (Bitbucket: whosawhatsis, GitHub: whosawhatsis): With that change, it successfully compiles. |
Released with 1.11.0 |
Removing milestone: 1.11.0 (automated comment) |
Originally reported by: whosawhatsis (Bitbucket: whosawhatsis, GitHub: whosawhatsis)
I'm getting the following error when I try to compile. Using the latest version on Arduino 1.8.5.
The text was updated successfully, but these errors were encountered: