I am trying to come up with a code for a fuzzy irrigation controller that takes in 4 variables and outputs Evapotranspiration (ETO) value based on fuzzy rules. I am editing an example from github and i wish to edit their header file which has only one input and one output per rule i.e if service is poor then food is cheap.
My fuzzy rules are of the kind;
If solar radiation is Dark and Air Humidity is High and Temp is Hot and Windspeed is Fast then ETO is Medium.
I am a new user and cannot upload the following files I want to edit with notepad++.
these are the file names;
FuzzyLibrary.cpp
FuzzyLibrary.h
just the part Fuzzy::createRule
The files can be found at GitHub - amimaro/FuzzyLibrary: Fuzzy Logic Library for Arduino. Please Help.