PWM Output Sample [pwm_output]


Explanation

This is a sample that performs PWM output settings, start/stop of output, and status acquisition.

In the state of command-input-wait, input 'q' to exit the program.

Sample Specification

 

Program Name

pwm_output

Pulse Period

0ch: 100[msec], 1ch: 200[msec], 2ch: 300[msec], 3ch: 400[msec]

Duty Ratio

0ch: 50[%], 1ch: 50[%], 2ch: 50[%], 3ch: 50[%]

Phase Shift

0ch: 0, 1ch: 0, 2ch: 0, 3ch: 0

 

Execution example

py pwm_output.py

 

Execution screen