* '''Input''' - allowing the python script to read the state of the Pin. The pin '''is driven by external component''' or sensor setting.
+
** the read state returns HIGH when the pin is set to 3.3V.
+
** the read state returns LOW when the pin is tied to the GND (0 Volt).
+
* '''Output''' - allowing the python script to write the state of the Pin. The pin can produce (or absorb) some current '''to drive an external component''' or sensor.
+
** WHEN set to HIGH by Python code THEN the microcontroler drives the pin to 3.3V.
+
** WHEN set to LOW by Python code THEN the microcontroler drives the pin to GND (0 Volt).