We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cef739 commit 7d9b1e5Copy full SHA for 7d9b1e5
1 file changed
README.md
@@ -7,7 +7,7 @@ Async Python client for [NanoKVM](https://github.com/sipeed/NanoKVM).
7
```python
8
9
from aiohttp import ClientSession
10
-from nanokvm.models import ButtonType
+from nanokvm.models import GpioType
11
from nanokvm.client import NanoKVMClient
12
13
@@ -24,5 +24,5 @@ async with ClientSession() as session:
24
async for frame in client.mjpeg_stream():
25
print(frame)
26
27
- await client.push_button(ButtonType.POWER, duration_ms=1000)
28
-```
+ await client.push_button(GpioType.POWER, duration_ms=1000)
+```
0 commit comments