How can I control a digital pin with odrivetool?

Hello, I have an Odrive v3.6 with firmware 0.5.5 and i want to turn on a led when the motor arrives to a position. is it possible to do it with odrivetool?
I’ve read that with this command:

odrv0.config.gpio4_mode = GpioMode.DIGITAL

I can use it as digital output but i don’t know how to activate or deactivate the voltage.

Hm, doesn’t look like writing GPIOs is supported on v3.6, sorry. Usually DIGITAL means input.