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:
mikeandClaude Opus 5.5 committed 2026-11-17 15:25:10 +01:00
1 parent 3effb23edc
commit 752067240b
3 files changed
+71

No files matched your search

+8
View File
@@ -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