bitluni / ESP32Lib

http://bitluni.net/esp32-vga/
441 stars 78 forks source link

Error Compiling for board ESP 32 Dev module #68

Open Nayyyar opened 2 years ago

Nayyyar commented 2 years ago

I am trying the "VGAHelloWorld " example from Bitluni esp32Lib.

I have been facing this issue

error: invalid conversion from 'int' to 'timer_alarm_t' [-fpermissive] config.alarm_en = 1; error: invalid conversion from 'int' to 'timer_autoreload_t' [-fpermissive] config.auto_reload = 1; ^ Kindly let me know how to solve this.

Kaleidio commented 2 years ago

Fix proposed in pull request https://github.com/bitluni/ESP32Lib/pull/69

Kaleidio commented 2 years ago

Testing completed, this is definitely the fix you want. You can do it yourself by navigating to AudioOutput.h in the library's folder, and editing those two lines shown in my commit.