Method ReadHumidityAsync
Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll
ReadHumidityAsync()
Reads humidity from the device sensor. Demonstrates [Task] attribute with custom name and timeout.
csharp
[Task(Name = "read_humidity", TimeoutMs = 3000)]
Task<float> ReadHumidityAsync()
Returns
The humidity reading as a percentage.