Method GetGreetingAsync
Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll
GetGreetingAsync()
Gets a simple greeting from the device. Demonstrates basic [Task] and [PythonCode] attribute usage.
csharp
[Task]
[PythonCode("'Hello from MicroPython device!'")]
Task<string> GetGreetingAsync()
Returns
A greeting message from the MicroPython device.