Adds tristate to GPIO_controller, converting it from GPO to GPIO