Closed MatjazBostic closed 7 years ago
Your makefile is incorrect. Remove any "-lpwm" statement and add "pwm.o" instead.
This is not specific to this code, please read up about makefiles and linker statements.
@StefanBruens Do I have to install complete esp8266 sdk to use this file? (I am using Arduino right now)
I get this error:
pwmTest.ino:
I have found "core_esp8266_wiring_pwm.c" in Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266 and replaced its contents with your code.
What am I doing wrong?