alvesoaj / eFLL

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

Problem with reach maximal defined value from output set - arduino_simple_sample.ino and not only #20

Closed maxprog closed 4 years ago

maxprog commented 4 years ago

Hello, I can't reach max defined value from output rule - both in my or Your codes placed on github. For Instance in your sample: arduino_simple_sample.ino please change following line to: int input = 80; always will be returned 40 instead of 50. Maximum value is 50 in output set: FuzzySet *fast = new FuzzySet(30, 40, 40, 50); but and I can't reach max defined value. Maybe mistake is on my side or in library

Screenshot 2020-01-20 at 08 48 02

?

maxprog commented 4 years ago

I see that also for input value 79 is returned 40

Screenshot 2020-01-20 at 09 07 30
maxprog commented 4 years ago

Problem Solved

alvesoaj commented 4 years ago

Sorry, for late response. May you explain what was wrong?