Created
February 28, 2016 07:18
-
-
Save toinetoine/30f03f7768f46bcf3187 to your computer and use it in GitHub Desktop.
datastructs.h
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
#define LED_COUNT (11) | |
#define LED(n) (1 << (n)) | |
#define ALL_LEDS(LED(LED_COUNT)-1) | |
struct frame { | |
unsigned short *data; | |
unsigned int resolution; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment