Inicializacny commit

This commit is contained in:
2020-10-26 20:07:30 +01:00
commit 0852a2c83e
5 changed files with 466 additions and 0 deletions

13
gpiosysfs.h Normal file
View File

@@ -0,0 +1,13 @@
/* gpiosysfs.h */
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
void gpioSetup(const char *pin);
void gpioCleanup(const char *pin);
void gpioWrite(const char *pin, const char *val);
int msleep(long msec);