en-us_commands:analog_output_pwm
Table of Contents
Analog output and PWM
Select output initialization, value conversion, or PWM functions for the product's supported channels.
Analog Output
- analogWriteInit() — Sets the resolution and prescaler of the output timer.
- analogWriteFreq() — Sets the PWM frequency of the specified output channel.
- analogWriteMax() — Returns the maximum value available for the specified output channel.
- IanalogWriteInit() — Sets the maximum, minimum and mode of the MPAINO analog output.
- IanalogWrite() — Converts a user integer value to the analog output range and outputs it.
- IanalogWritef() — Converts a user floating-point value to the analog output range and outputs it.
4~20mA Output
- analogWrite2() — Outputs a raw value for 4~20mA conversion on the specified channel.
- IanalogWrite2() — Converts a user integer value to the 4~20mA output range.
- IanalogWrite2f() — Converts a user floating-point value to the 4~20mA output range.
PWM Output
- PWM() — Outputs 8-bit or 16-bit PWM on the specified pin.
- FDPWM() — Outputs PWM at the specified frequency and duty cycle.
- PWMOFF() — Stops or re-enables PWM output on the specified pin.
- PWM_RESET() — Resets all PWM states managed by the core.
Pulse Output
- NPWM_BEGIN() — Prepares pulse output with the specified frequency, duty cycle and pulse count.
- NPWM() — Outputs the prepared number of pulses.
en-us_commands/analog_output_pwm.txt · Last modified: by 127.0.0.1
