tinkerspy / Automaton

Reactive State Machine Framework for Arduino

Home Page:https://github.com/tinkerspy/Automaton/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't be compiled on ESP32

matthew798 opened this issue · comments

Since the ESP32's arduino libraries don't support some functions like analogWrite, compilation fails because some of the Atms use it. I was hoping there would be a workaround other than editing the library's source files manually as it will just be restored by PIO.

commented

I'm have the same problem. I finded some posible solutions, but i not fully tested this libraries.

https://github.com/lbernstone/Tone32
https://github.com/ERROPiX/ESP32_AnalogWrite

Not sure if this is relevant, but I'm able to build fine on my esp32 board using platformio with platform = espressif32