DIO + PWM – Digital Input Output
A pin object is used to control I/O pins (also known as GPIO - general-purpose input/output).
Pin objects are commonly associated with a physical pin that can drive an output voltage and read input voltages.
In this section we will cover Din
and Dout
classes.
Note
The external hardware has inverse logic which is compensated by this module.
E.g.: if you set DOUT1 to 1, you will see a high value output.For details related with hardware (pinout, cables, schematics, …), please check this section.