Beispiel in Perl: Lauflicht über alle LEDs im manuellen Modus
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3effb23edc
commit
752067240b
3 files changed
+71
No files matched your search
@@ -243,6 +243,14 @@ req = urllib.request.Request("http://cube.local/api/pixels", method="PUT",
|
||||
urllib.request.urlopen(req)
|
||||
```
|
||||
|
||||
Ein vollständiges Beispiel in Perl, das jede LED einmal aufleuchten lässt und
|
||||
danach zum letzten Effekt zurückkehrt, steht in
|
||||
[`examples/lauflicht.pl`](../examples/lauflicht.pl) (nur Kernmodule):
|
||||
|
||||
```sh
|
||||
perl examples/lauflicht.pl cube.local 80 # Host, Millisekunden pro LED
|
||||
```
|
||||
|
||||
### `GET /api/pixels`
|
||||
|
||||
```json
|
||||
|
||||
Reference in new issue
Block a user