Good day! how to set sensor Data parameters? Like the data only set for example it starts with minimum value of 3 and ends with maximum value of 6 and it will turn on led 1 and if minimum value of 1 and maximum value of 2 turn on led 2 just like that? My actual code for that
float basa= scale.get_units();
else if(basa >=2)
this code shows that if ever it reaches value of 4 the value of 2 will react also so my question is how set sensor data value like it will only react Value1-Value2 like that thank youvalue?