Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void gpio_write( struct Gpio const *gpio, bool brightness ); // This was in sysfs-gpio.h
- char c = _gpio_read_attribute( gpio, "brightness" ); // This was in sysfs-gpio.c
- // I have seen other attributes to change but I am not sure of their errors or the prone of errors w/ these methods...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement