mirror of
https://github.com/alankrantas/microbit-micropython-cookbook.git
synced 2025-12-16 18:10:54 +01:00
Update README.md
This commit is contained in:
@@ -234,7 +234,7 @@ while True:
|
|||||||
```
|
```
|
||||||
## NeoPixel Rainbow/Rotation
|
## NeoPixel Rainbow/Rotation
|
||||||
|
|
||||||
This code needs at least 3 LEDs in the NeoPixel chain.
|
This code needs at least 3 LEDs in the NeoPixel chain. Of course, you can set a number (much) higher than actual LEDs to get smooth rainbow effects.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from microbit import pin0, sleep
|
from microbit import pin0, sleep
|
||||||
|
|||||||
Reference in New Issue
Block a user