GithubHelp home page GithubHelp logo

i have i problem i need help about rbddimmer HOT 2 OPEN

ZAKARIACL avatar ZAKARIACL commented on September 9, 2024
i have i problem i need help

from rbddimmer.

Comments (2)

zetazetterberg avatar zetazetterberg commented on September 9, 2024

replaced with esp_intr_alloc.h.

from rbddimmer.

Arulamir avatar Arulamir commented on September 9, 2024

replaced with esp_intr_alloc.h.

after i change it the error going to file RBDmcuESP32.cpp
C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.cpp: In member function 'void dimmerLamp::timer_init()':
C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.cpp:53:27: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
53 | timer = timerBegin(0, 250, true);
| ~~~~~~~~~~^~~~~~~~~~~~~~
In file included from C:\Users\TOSHIBA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal.h:84,
from C:\Users\TOSHIBA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\cores\esp32/Arduino.h:36,
from C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.h:4,
from C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.cpp:3:
C:\Users\TOSHIBA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal-timer.h:35:13: note: declared here
35 | hw_timer_t timerBegin(uint32_t frequency);
| ^~~~~~~~~~
C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.cpp:55:29: error: too many arguments to function 'void timerAttachInterrupt(hw_timer_t
, void (*)())'
55 | timerAttachInterrupt(timer, &onTimerISR, true);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\TOSHIBA\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\cores\esp32/esp32-hal-timer.h:50:6: note: declared here
50 | void timerAttachInterrupt(hw_timer_t *timer, void (*userFunc)(void));
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.cpp:58:9: error: 'timerAlarmWrite' was not declared in this scope; did you mean 'timerWrite'?
58 | timerAlarmWrite(timer, 30, true);
| ^~~~~~~~~~~~~~~
| timerWrite
C:\Users\TOSHIBA\Documents\Arduino\libraries\RBDdimmer\src\esp32\RBDmcuESP32.cpp:60:9: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'?
60 | timerAlarmEnable(timer);
| ^~~~~~~~~~~~~~~~
| timerAlarm

from rbddimmer.

Related Issues (20)

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.