.. |br| raw:: html
.. _dio: DIO + PWM -- Digital Input Output ================================= A pin object is used to control I/O pins (also known as GPIO - general-purpose input/output). |br| 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. |br| 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 :ref:`this section `. Methods ------- .. automodule:: dio :members: