Activity › Forums › Questions & Troubleshooting › Software & Firmware › analogWrite on Maxi › Reply To: analogWrite on Maxi
-
Hello Jan,
Arduino function analogWrite() does not set real analog value to a pin, but runs
PWM signal with fixed frequency and variable duty cycle.So with the standard MAXI you can have only 24 V PWM signal out of the
output. (Please note that CONTROLLINO_A1 is analoginput pin.).And if you get 4,8 V, you obviously measure it at the pinheader, which is not correct – please use the screw terminals.
With the MAXI Automation the situation is better – there are two real analog outps there – please see our
example.Thanks,
Lukas