Update README.md

main
benevpi 2021-01-25 15:01:49 +00:00 zatwierdzone przez GitHub
rodzic 226330d7b1
commit 93e96e597a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -15,7 +15,7 @@ pixels = ws2812b.ws2812b(10,0,0)
This object has two methods, show() which sends the data to the strip, and set_pixel which sets the colour values for a particular LED. The parameters are LED number, red, green, blue with the colours taking values between 0 and 255.
A simple example is the following typed into the interpreter:
A simple example is the following typed into the interpreter (warning, fill(...) will light up all the LEDs, so only run this line if you want to turn them all on):
```
>>> import ws2812b