Issues with Reading Temperature and Humidity
I copied the code from the android documentation for reading the humidity values. Every instances of
"Bme280Humidity" is flagged with a "cannot find symbol class Bme280Humidity" error. How do I resolve this?<br><br>
I did the same thing with reading the temperature values. When I copied in the first line:
MultiChannelTemperature mcTempModule= mwBoard.getModule(<wbr>MultiChannelTemperature.class)<wbr>;
I get an UnsupportedModuleException error. When I place the code within a Try / Catch block, the error goes away but then I get a null exception error when the following line is executed: <br>
List<Source> tempSources= mcTempModule.getSources();<br><br>
Please advise.
This discussion has been closed.
Comments
The app also tells me that the humidity module (sensor) is not supported on this board which is disconcerning.