1
0
mirror of https://github.com/xtacocorex/CHIP_IO synced 2025-07-20 04:43:21 +00:00

software servo! this implements and will close #41. also fixed issue with softpwm cleanup(), update to version 0.4.0

This commit is contained in:
Robert Wolterman
2017-02-07 04:17:09 +00:00
parent cd85e2b5eb
commit 6bd2e61450
12 changed files with 760 additions and 31 deletions

View File

@ -486,8 +486,8 @@ int gpio_set_value(int gpio, unsigned int value)
strncpy(vstr, "0", ARRAY_SIZE(vstr) - 1);
}
if (DEBUG)
printf(" ** gpio_set_value: writing %s **\n", vstr);
//if (DEBUG)
// printf(" ** gpio_set_value: writing %s **\n", vstr);
ssize_t s = write(fd, vstr, strlen(vstr)); e_no = errno;