Map2bits is an experimental library which can be used to map a float value to a number of HIGH bits in an 32 bits integer.. The float value can be the result of a calculation or measurement from a ...
Position the sensor at a fixed height above the plant bin. Pour water into the bin in small increments, recording the actual distance and measured distance from the ultrasonic sensor. Repeat this ...