I hereby claim:
- I am bettse on github.
- I am bettse (https://keybase.io/bettse) on keybase.
- I have a public key whose fingerprint is D49E 4267 F792 3D35 6358 9B21 3E92 C5A7 F643 56BD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Set the contents of block 1 to control WS2812FX. Will revert to default after 5 minutes.
Prefix the block with WS2812FX
and then provide preferred options: 57 53 32 38 31 32 46 58 MM CC CC CC CC SS SS RR
import array | |
import pulseio | |
import board | |
import adafruit_irremote | |
import time | |
#from adafruit_circuitplayground import playground | |
HEADER_VAL = 6000 | |
BLACK = (0, 0, 0) |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <inttypes.h> | |
#if defined(__APPLE__) | |
#include <libkern/OSByteOrder.h> | |
#define bswap_16(x) OSSwapInt16(x) | |
#define bswap_32(x) OSSwapInt32(x) | |
#define bswap_64(x) OSSwapInt64(x) |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#if defined(__APPLE__) | |
#include <libkern/OSByteOrder.h> | |
#define bswap_16(x) OSSwapInt16(x) | |
#define bswap_32(x) OSSwapInt32(x) |