Skip to content

Instantly share code, notes, and snippets.

@dl8bb
dl8bb / a20_cec_ctl.sh
Created May 14, 2016 22:56 — forked from routevegetable/a20_cec_ctl.sh
Allwinner A20 CEC control script
#!/bin/bash
# Nasty script to poke the CEC control memory locations in Allwinner A20
# Find the STANDBY_VALUE we want
case $1 in
on)
STANDBY_VALUE=0
;;
off)
@dl8bb
dl8bb / arduino_waves.ino
Created December 10, 2020 08:48 — forked from ansiwen/arduino_waves.ino
1d wave model for arduino
// Use if you want to force the software SPI subsystem to be used for some reason (generally, you don't)
// #define FASTLED_FORCE_SOFTWARE_SPI
// Use if you want to force non-accelerated pin access (hint: you really don't, it breaks lots of things)
// #define FASTLED_FORCE_SOFTWARE_SPI
// #define FASTLED_FORCE_SOFTWARE_PINS
#include <FastLED.h>
#include "rgbw.h"
// How many leds are in the strip?
#define NUM_LEDS 300