unicontrol > Web interface > Processes > Output > Type
POST: http://192.168.1.255/var_set?param=outtyp_1&val=1
will switch the type of the Process #1 output to PWM.
Type
Enabling this option will change the output to PWM
mode. This option is only available if the selected Output peripheral is capable of PWM
output (D0 - D8).
In that case the output assumes a provided duty cycle when on
and a constant LOW
state (0V) when off
.
[VALUE]
of this variable may assume values 0
or False
for disabling and 1
or True
for enabling this option.
HTTP
The device will accept HTTP requests at the following URLs:
(POST) http://[IPv4]
/var_set?param=outtyp_[PROCESS ID]
&val=[VALUE]
(GET) http://[IPv4]
/var_request?param=outtyp_[PROCESS ID]
POST: http://192.168.1.255/var_set?param=outtyp_1&val=1
will switch the type of the Process #1 output to PWM.
Learn more in HTTP API.
MQTT
This parameter cannot be accessed via MQTT. Learn more in MQTT API.