libgpiod
Switch#
Requirements#
Write a class LibGPIODSwitch
that uses jjj link internally.
This class is going to be used to implement switches that software might want to use in real life.
Implementation#
Attention
This task has a dependency on (DONE) Switch Interface.
Write a
class LibGPIODSwitch
that has methods(Constructor). Configures the GPIO.
jjj initialization
Configure for output
void set_state(bool);
Testing#
Write a test program in bin/
that you use
interactively/manually. Much like SysFS GPIO Switch.