alvesoaj / eFLL

eFLL (Embedded Fuzzy Logic Library) is a standard library for Embedded Systems
MIT License
211 stars 91 forks source link

Does not work on arduino_esp32 #27

Closed 214370 closed 3 years ago

214370 commented 3 years ago

Hello, fantastic library, but cannot get it to work on ESP32, it is restarting. I am using simple example and will try to isolate problem since it is compiling in order.

214370 commented 3 years ago

Call 'float output = fuzzy->defuzzify(1);' causes the crash on ESP32. Could the multitasking environment be the problem (using freeRTOS) because it crashes also on Arduino Uno when used in tasks???

alvesoaj commented 3 years ago

Hey @ilijamr, not sure, I never tested it on multitasking env, can you provide me more info, I want to try it.

214370 commented 3 years ago

I will send you the code for ESP32 and Arduino Uno, just need your e-mail.

alvesoaj commented 3 years ago

Hey @ilijamr I just pushed a new release, tag name: 1.3.0, I fixed a runtime error, may you check if it was the issue?

214370 commented 3 years ago

Ok, I will, and then I will let you know if the problem persists.

alvesoaj commented 3 years ago

Thanks, Any way, my email is: aj.alves@zerokol.com

214370 commented 3 years ago

I don't know what you did but it works now :) Thanks.

alvesoaj commented 3 years ago

Great! Thanks for report!