Skip to content

Instantly share code, notes, and snippets.

@electronut
Created August 18, 2017 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save electronut/b6ae66e8b9dc140f5f7a0c4a6c59b741 to your computer and use it in GitHub Desktop.
Save electronut/b6ae66e8b9dc140f5f7a0c4a6c59b741 to your computer and use it in GitHub Desktop.
I2S data
#define NLEDS 16
#define RESET_BITS 6
#define I2S_BUFFER_SIZE 3*NLEDS + RESET_BITS
static uint32_t m_buffer_tx[I2S_BUFFER_SIZE];
static volatile int nled = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment