Posted By
BSZ on 2023-08-12 16:29:20
| Re: Using C16/Plus 4 joystick ports as input pins from a microcontroller
The user port can of course be used as input. Set the port bits/pins to high, this high level can be pulled low by an external device. The current status can be read from the port register.
Using the joystick port for GPIO is unfortunate; it can only be used as input, not as output at all.
|