Skip to content

The SwitchGpioModule class

Marco Minerva edited this page Jun 14, 2015 · 2 revisions

SwithGpioModule is the base class for all the GPIO modules that act as a switch (i.e., we can turn them on or off, like LED, Relay, Laser as so on). So, it can be used as a basis to manage all the modules of this type.

Just inherit from it in order to have access to methods that easily allow to turn on and off the GPIO.

Clone this wiki locally