Jump to navigation
Jump to search
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
fill this in!
=== hacking === the blinky RGB LED's are driven by a [[WS2801]] chip, that uses a clock (green) and data (white) line, that are operated similarly to APA102's, but are not identical in practice. custom code's by teh'x taht served as table ornamite for Mitch's interview of C.M. past 10th anniversary at NB. µPython running on a ESP8266 driving random overflow noise on a milk crate of 5x5 RGB's. <pre> # 2 CM w/<3 import time from machine import Pin from apa102 import APA102 clock = Pin(14, Pin.OUT) # set GPIO14 to output to drive the clock data = Pin(13, Pin.OUT) # set GPIO13 to output to drive the data apa = APA102(clock, data, 25) def randomByte(): return int.from_bytes(uos.urandom(1), 'little') def randomPixel(): return [randomByte(), randomByte(), randomByte(), 31] def loop(): while True: for j in range(25): apa[j] = randomPixel() apa.write() time.sleep_ms(round(randomByte()/10)) loop() </pre>
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
(opens in new window)
Retrieved from "
Not logged in
What links here