Update README.md

This commit is contained in:
Alan Wang
2020-02-24 03:18:05 +08:00
committed by GitHub
parent b62795f9da
commit a9f4d85f48

View File

@@ -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