The Raspberry Pi does not have analog ports. So you use Pulse Width Modulation. You want a 1.6V signal on a Raspberry Pi 3.3V GPIO. It would be approximately, 50% duty cycle or 3.3V * 50% = 1.65V. You can setup an instance like pwmled1.py classgpiozero.PWMLED(pin, *, active_high=True, initial_value=0, frequency=100, pin_factory=None)[source] pwmled2.py