update embeddedstm32f303 for use with a STM32F303

This commit is contained in:
cnlohr 2015-07-21 02:22:16 -04:00
parent 87dbe51a52
commit 560db48adf
69 changed files with 46874 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#ifndef _SPI_2812_H
#define _SPI_2812_H
#define SPI2812_MAX_LEDS 300
//24 bits per LED, can fit two bits per byte of output.
#define SPI2812_BUFFSIZE (SPI2812_MAX_LEDS*24/2)
void InitSPI2812();
void SendSPI2812( unsigned char * lightarray, int leds ); //Need one R, G, B per element.
#endif