Comments (2)
replaced with esp_intr_alloc.h.
from rbddimmer.
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)
- Dimmer Output is Dimmed during Serial Print
- Tacho feedback
- more esp32 dimmer outputs HOT 1
- RP2040 support
- Library Interrupts Conflict HOT 4
- RBD Dimmer AVR
- What license is this library under?
- Why can't the Arduino Uno/Nano's Zero Cross input pin be changed? (NOT CHANGABLE)
- 100 to 0 switching not proper HOT 1
- flicker each second on esp32 HOT 1
- Any schematic or wiring for the 7 pin module which has the BTA16 Triac?
- Issue when using more than one Dimmer on ESP32 [fixed] HOT 2
- Does't work with ESP8266 HOT 3
- Add paket wave control mode
- RBDDimmer and ESP8266WiFi
- Not working with ATMega1284p
- Uses depreciated library HOT 1
- Error on compilation esp8266 wemos D1
- Request for compatability with new arduino uno R4. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbddimmer.