This website works better with JavaScript.
Home
Explore
Help
Sign In
Sol-Solis
/
blinky-py
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add colortest script for quick color testing
master
Nathaniel Walizer
3 years ago
parent
34d142c87a
commit
84da2471ec
1 changed files
with
12 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
colortest.py
+ 12
- 0
colortest.py
View File
@@ -0,0 +1,12 @@
#!/usr/bin/python3
import board
import neopixel
import sys
length = 50
pixels = neopixel.NeoPixel(board.D18, length, pixel_order=neopixel.RGB, auto_write=False)
pixels.fill(tuple(int(sys.argv[x]) for x in (1, 2, 3)))
pixels.show()
Write
Preview
Loading…
Cancel
Save