Skip to content

Commit 6e0ffa1

Browse files
committed
I feel the need of adding a README.
1 parent 30b3c26 commit 6e0ffa1

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# TLC5615 Arduino driver
2+
3+
Created & maintained by Max Chan.
4+
5+
## Introduction
6+
7+
This driver interfaces the microcontroller with the Texas Instruments TLC5615
8+
SPI DAC using the microcontroller's built-in SPI hardware.
9+
10+
## Using the Driver
11+
12+
The driver uses a similar syntax as the default PWM outputs, albeit with an
13+
object.
14+
15+
```Arduino
16+
#include <TLC5615.h>
17+
18+
TLC5615 dac(10);
19+
20+
void setup(void)
21+
{
22+
dac.begin();
23+
}
24+
25+
void loop(void)
26+
{
27+
dac.analogWrite(millis());
28+
}
29+
```
30+
31+
## License
32+
33+
This library is licensed under the 3-clause BSD license.

0 commit comments

Comments
 (0)