]>
Commit | Line | Data |
---|---|---|
4b5f5fcb | 1 | #include "common.h" |
2 | #include "spi.h" | |
3 | #include "tlc59711.h" | |
4 | ||
5 | int main(int argc, char *argv[]) | |
6 | { | |
7 | uint16_t test[12] = {0}; | |
8 | tlc59711_init("/dev/spidev1.1"); | |
9 | while(1){ | |
d41e803b | 10 | int ret; |
11 | if((ret = tlc59711_send(test)) < 0 ){ | |
12 | exit(ret); | |
13 | } | |
4b5f5fcb | 14 | } |
15 | return 0; | |
16 | } |