Method ReadTemperatureAsync
Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll
ReadTemperatureAsync()
Task method that reads the device temperature. Demonstrates [Task] with more complex Python code execution.
csharp
[Task(Name = "read_temp", TimeoutMs = 5000)]
public virtual Task<float> ReadTemperatureAsync()
Returns
The temperature reading from the device.