linux, go!
This commit is contained in:
parent
25f313fbf2
commit
d5ca50f475
16 changed files with 414 additions and 273 deletions
18
firmware/tlc5615.h
Normal file
18
firmware/tlc5615.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef TLC5615_H
|
||||
#define TLC5615_H
|
||||
|
||||
#include "spi.h"
|
||||
|
||||
class TLC5615
|
||||
{
|
||||
public:
|
||||
TLC5615(SPI&, uint8_t);
|
||||
void setValue(uint16_t) const;
|
||||
|
||||
|
||||
private:
|
||||
SPI& spi;
|
||||
const uint8_t adr;
|
||||
};
|
||||
|
||||
#endif // TLC5615_H
|
Loading…
Add table
Add a link
Reference in a new issue