Add Pin1Direction..Pin3Direction flags to DeviceStruct so each pin (based on the Device[].Type field) can be configured in the correct direction. This is to stop input-only pins to be selected for output use.
Not applicable to Serial Types (Pin1/Pin2) and SPI Types (Pin1..3).
Feature:
Pin1Direction
..Pin3Direction
flags toDeviceStruct
so each pin (based on the Device[].Type field) can be configured in the correct direction. This is to stop input-only pins to be selected for output use.Serial
Types (Pin1/Pin2) andSPI
Types (Pin1..3).Example:
With this added to the Plugin device definition, only GPIO pins with output capability can be selected.
TODO: