Subversion Repositories LedShow

Rev

Rev 5 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 mjames 1
/*
2
 * leds.h
3
 *
4
 *  Created on: 7 Jul 2019
5
 *      Author: Mike
6
 */
7
 
8
#pragma once
9
 
10
#define SPI_PRESCALE 8
11
 
12
extern void sendLeds(void);
13
 
5 mjames 14
#pragma pack(push,1)
2 mjames 15
typedef struct
16
{
17
        uint8_t fader;
18
        uint8_t red;
19
        uint8_t green;
20
        uint8_t blue;
5 mjames 21
        uint8_t white;
22
} frgbw_t;
23
#pragma pack(pop)