Send 0v when gate is on and 5v when gate is off

Is it possible? I need it for visual feedback because I control an external modified pedal which is off when 5 v is sent, and On when 0v is sent.
If it’s not possible, perhaps a good idea for future update?

Thanks you for your help and sorry for my english !