This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |