15 lines
244 B
C
15 lines
244 B
C
|
#include <unistd.h>
|
||
|
#include <wiringPiI2C.h>
|
||
|
#include "ht16k33.h"
|
||
|
|
||
|
/* https://cdn-shop.adafruit.com/datasheets/ht16K33v110.pdf */
|
||
|
|
||
|
#define ADDRESS 0x70
|
||
|
|
||
|
int main(int argc, char *argv[]){
|
||
|
int fd;
|
||
|
|
||
|
fd = wiringPiI2CSetup(ADDRESS);
|
||
|
close(fd);
|
||
|
}
|