Why my program about fuzzy output value always zero?

I use the fuzzy.h library on Arduino. I have a system with 3 inputs and 2 outputs. The system has 27 rules. Entries take random values. With 27 rules, the output of the system always returns 0. The output value is 0, but the membership value of the output does not appear to be 0. I can get an output value when I randomly choose 3 rules out of 27 rules. How can I solve this problem?
fuzzyduzen.ino (17.9 KB)

have you tried a simpler example and gotten it to work?

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.