EthercatDevice_QECRXXHU.buzzer()

[EthercatDevice_QECRXXHU]

説明

Set the Buzzer frequency.

Class Modules

class EthercatDevice_QECR11HU5S;
/* MPG + Keypad + LCM + RS232x2, RJ45 power [1, 1] */
class EthercatDevice_QECR00HU5S;
/* MPG + Keypad + LCM + RS232x2, RJ45 power [0, 0] */
class EthercatDevice_QECR11HU9S;
/* MPG + Keypad + LCM + RS232/485x2, RJ45 power [1, 1] */
class EthercatDevice_QECR00HU9S;
/* MPG + Keypad + LCM + RS232/485x2, RJ45 power [0, 0] */

Format

int buzzer(uint32_t hz, uint32_t duration_ms = 0);

Syntax

EthercatDevice_QECRXXHU slave;
slave.buzzer(1000, 1000);

Parameters

  • uint32_t hz: Buzzer frequency.
  • uint32_t duration_ms: Duration time with milliseconds unit. 0 for Always.

Returns

Int: 0 for successful. If the return value is smaller than 0 means an error.


Libraries Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール