config_MaxPulseSpeed()

描述

設定機器輸出脈波的最高速度。

語法


machine.config_MaxPulseSpeed(pfhz);

參數

machine:為 Machine物件。

pfhz:為機器脈波輸出的速度,單位為 pulses/s (HZ)。

回傳

true: 設定成功。

false: 設定錯誤,代表機器不存在或者在機器啟動之後才做設定。

請確保機器存在,並確保對機器做設定必須在啟動機器之前。

See also


函式庫參考主頁面

The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.