b15f/firmware/tlc5615.h

19 lines
249 B
C
Raw Normal View History

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