Supports humidity measurement.
All reading from this library are in 'percentage'.
Since all of the devices have been implemented in the same way then it means that you can swap one device for another by only changing the #include and the MAKE command used to create the device.
So here is the generic way to work with a <DEVICE> of a given <MAKE> and <MODEL>:-
// Include the relevant sensor file
// Create the device
<DEVICE> myHumidity = MAKE_<DEVICE>(ADC pin);
In your appInitHardware you should initialise the device:-
Then in your main loop you can read the sensor using:-
The value can then be read independently into a variable of type 'HUMIDITY_TYPE':-
HUMIDITY_TYPE percent = myHumidity.humidity.percent;
Or dumped to the current rprintf destination using:-