Method ReadTemperatureAsync
Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll
ReadTemperatureAsync()
Reads the temperature from the device sensor. Demonstrates basic [Task] attribute usage.
csharp[Task]
Task<float> ReadTemperatureAsync()
1
2
Returns
Task<float>
The temperature reading in Celsius.