dac funktioniert
This commit is contained in:
parent
d3afcc2f37
commit
472d0135df
8 changed files with 124 additions and 65 deletions
18
TLC5615.h
Normal file
18
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