Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: too many arguments to function 'hw_timer_t* #199

Open
atmelletje opened this issue Jun 1, 2024 · 4 comments
Open

error: too many arguments to function 'hw_timer_t* #199

atmelletje opened this issue Jun 1, 2024 · 4 comments

Comments

@atmelletje
Copy link

hello Maxim,

I have some issues getting the ESP32 programmed.
IDE 2.3.2
updated and installed the ESP32 boards including the Adafruit lib.
I'm fairly new to programming such devices. would be nice if you could push me in the right direction.

h4\h4.ino:570:37: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
570 | hw_timer_t async_timer = timerBegin(0, 80, true);
| ~~~~~~~~~~^~~~~~~~~~~~~
'hw_timer_t
timerBegin(uint32_t)'

Roel

@kachurovskiy
Copy link
Owner

Hi @atmelletje, not sure, try changing your esp32 library version to 2.0? espressif/arduino-esp32#8765 (comment)

@atmelletje
Copy link
Author

hello Maxim, first of all, thank you for your fast reply.
what I did is the following workaround,
I went back to Arduino v1.8.18 and installed the Espressif esp32 v2.0.17
That worked like a Champ.

Danke Maxim,

Roel

@jherbert7621
Copy link

Hi @atmelletje,
had the same issue, as Maxim suggested changing esp32 library to 2.0 does the trick!
Juergen

@atmelletje
Copy link
Author

atmelletje commented Jun 21, 2024

it works great, I have some boards left over. they are completely assembled and working. drop me a message if someone needs one! a complete set is also possible.
, motors +drivers. next to replace are the leadscrews with some decent ballscrew spindles. it's not business, just that it's just not possible to make1 PCB here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants