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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user