dac funktioniert

This commit is contained in:
Tristan Krause 2019-03-25 15:02:24 +01:00
parent d3afcc2f37
commit 472d0135df
8 changed files with 124 additions and 65 deletions

18
TLC5615.h Normal file
View 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