]> mj.ucw.cz Git - home-hw.git/blob - rainbow/firmware/interface.h
Protab: Use USB boot loader in all examples
[home-hw.git] / rainbow / firmware / interface.h
1 /*
2  *      Neopixel Rainbow -- Interface Definitions
3  *
4  *      (c) 2022 Martin Mareš <mj@ucw.cz>
5  */
6
7 #define NPIX_USB_VENDOR 0x4242
8 #define NPIX_USB_PRODUCT 0x0009
9 #define NPIX_USB_VERSION 0x0100
10
11 #define NPIX_NUM_LEDS 12
12
13 /*
14  *      Endpoints:
15  *
16  *      0x01 = bulk endpoint
17  *              Accepts up to 12 3-byte records (R, G, B), each describing one LED.
18  *              If less than 12 records are sent, the remaining LEDs are left unmodified.
19  */