b15f/firmware/tlc5615.h

19 lines
247 B
C
Raw Normal View History

2019-03-25 14:02:24 +00:00
#ifndef TLC5615_H
#define TLC5615_H
#include "spi.h"
class TLC5615
{
public:
2019-04-03 06:40:14 +00:00
TLC5615(volatile SPI&, uint8_t);
void setValue(uint16_t) const volatile;
2019-03-25 14:02:24 +00:00
private:
2019-04-03 06:40:14 +00:00
volatile SPI& spi;
2019-03-25 14:02:24 +00:00
const uint8_t adr;
};
#endif // TLC5615_H