Gotta have some Knight Rider goodness
The below (and attached) project file will run the Larson Scanner animation on a string of 64 WS2812 (Neopixel) LEDs using the AllPixelMini controller. Increase ‘tail’ to make the lit LED string wider.
To run:
bibliopixel run APLarsonScanner.json
``
{
“driver”: {
“typename”: “bibliopixel.drivers.serial.Serial”,
“type”: “WS2812”,
“num”: 64,
“c_order”: “GRB”
},
"layout": {
"typename": "bibliopixel.layout.strip.Strip"
},
"animation": {
"typename": "BiblioPixelAnimations.strip.LarsonScanners.LarsonScanner",
"color": [255,0,0],
"tail": 1,
"start": 0,
"end": -1
},
"run": {
"fps": 30
},
"path": "/Python36-32/Lib/site-packages/BiblioPixelAnimations"
}
``
APLarsonScanner.json (529 Bytes)