PWM出力の設定、出力の開始/停止およびステータスの取得を行うサンプルです。
コマンド入力待ち状態から、'q'が入力されるとプログラムを終了します。
サンプル仕様 |
|
プログラム名 |
pwm_output |
パルス周期 |
0ch:100[msec]、1ch:200[msec]、2ch:300[msec]、3ch:400[msec] |
Duty比 |
0ch:50[%]、1ch:50[%]、2ch:50[%]、3ch:50[%] |
位相シフト |
0ch:0、1ch:0、2ch:0、3ch:0 |
py pwm_output.py
