Code Monkey home page Code Monkey logo

fauxmoesp's People

Contributors

mamunhoque avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fauxmoesp's Issues

Problems compide

Hello, first sorry mi english. Im from Spain.
When i compile your example I always obtain the same error:

/home/javier/Arduino/fauxumo_03/fauxumo_03.ino: In function 'void setup()':
fauxumo_03:193:6: error: no matching function for call to 'fauxmoESP::onSetState(setup()::__lambda0)'
});
^
/home/javier/Arduino/fauxumo_03/fauxumo_03.ino:193:6: note: candidate is:
In file included from /home/javier/Arduino/fauxumo_03/fauxumo_03.ino:7:0:
/home/javier/Arduino/libraries/FauxmoESP/src/fauxmoESP.h:79:14: note: void fauxmoESP::onSetState(TSetStateCallback)
void onSetState(TSetStateCallback fn) { _setCallback = fn; }
^
/home/javier/Arduino/libraries/FauxmoESP/src/fauxmoESP.h:79:14: note: no known conversion for argument 1 from 'setup()::__lambda0' to 'TSetStateCallback {aka std::function<void(unsigned char, const char*, bool)>}'
Se encontraron varias bibliotecas para "ESPAsyncTCP.h"
Usado: /home/javier/Arduino/libraries/ESPAsyncTCP-master
Se encontraron varias bibliotecas para "ESP8266WiFi.h"
Usado: /home/javier/.arduino15/packages/esp8266/hardware/esp8266/2.6.1/libraries/ESP8266WiFi
Se encontraron varias bibliotecas para "fauxmoESP.h"
Usado: /home/javier/Arduino/libraries/FauxmoESP
No usado: /home/javier/Arduino/libraries/xoseperez-fauxmoesp-f60c46d80f9b
No usado: /home/javier/Arduino/libraries/xoseperez-fauxmoesp-0614271148ac
exit status 1
no matching function for call to 'fauxmoESP::onSetState(setup()::__lambda0)'
I dont know how to resolve it.
¿Can you help me?.

Regards,
Javier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.