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
hi, i'm try to compile the example simplepotentiometer with arduino IDE and selecting my board nodemcu v1 ESP8266
i change inside the code:
dimmerLamp dimmer(outputPin, zerocross); //initialase port for dimmer for ESP8266, ESP32, Arduino due boards
//dimmerLamp dimmer(outputPin); //initialase port for dimmer for MEGA, Leonardo, UNO, Arduino M0, Arduino Zero
i'm using esp8266 library version 2.3
and those are the errors that i receive:
`
ATTENZIONE: La categoria 'Input' della libreria MechInputs non è valida. La imposto a 'Uncategorized'
ATTENZIONE: La categoria 'Input' della libreria SerialSensors non è valida. La imposto a 'Uncategorized'
sketch\SimplePotentiometer.ino.cpp.o:(.text.setup+0xc): undefined reference to `dimmerLamp::begin(DIMMER_MODE_typedef, ON_OFF_typedef)'
sketch\SimplePotentiometer.ino.cpp.o: In function `HardwareSerial::begin(unsigned long)':
C:\Users\Marco\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0\cores\esp8266/HardwareSerial.h:75: undefined reference to `dimmerLamp::begin(DIMMER_MODE_typedef, ON_OFF_typedef)'
sketch\SimplePotentiometer.ino.cpp.o: In function `setup':
C:\Users\Marco\Desktop\RBDDimmer-master\RBDDimmer-master\examples\SimplePotentiometer/SimplePotentiometer.ino:69: undefined reference to `dimmerLamp::setPower(int)'
sketch\SimplePotentiometer.ino.cpp.o: In function `loop':
C:\Users\Marco\Desktop\RBDDimmer-master\RBDDimmer-master\examples\SimplePotentiometer/SimplePotentiometer.ino:73: undefined reference to `dimmerLamp::setPower(int)'
C:\Users\Marco\Desktop\RBDDimmer-master\RBDDimmer-master\examples\SimplePotentiometer/SimplePotentiometer.ino:74: undefined reference to `dimmerLamp::dimmerLamp(int, int)'
sketch\SimplePotentiometer.ino.cpp.o: In function `__static_initialization_and_destruction_0':
C:\Users\Marco\Desktop\RBDDimmer-master\RBDDimmer-master\examples\SimplePotentiometer/SimplePotentiometer.ino:75: undefined reference to `dimmerLamp::dimmerLamp(int, int)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Errore durante la compilazione per la scheda NodeMCU 1.0 (ESP-12E Module).
`
how i can solve? thanks
The text was updated successfully, but these errors were encountered:
hi, i'm try to compile the example simplepotentiometer with arduino IDE and selecting my board nodemcu v1 ESP8266
i change inside the code:
i'm using esp8266 library version 2.3
and those are the errors that i receive:
`
how i can solve? thanks
The text was updated successfully, but these errors were encountered: