EthercatMaster.firmwareVersion( )

[EthercatMaster]

描述

EtherCAT 韌體的版本。
需要使用在 EthercatMaster.begin() 之後。

格式

char *firmwareVersion( );

語法

EthercatMaster master;
master.firmwareVersion( );

回傳

String。EtherCAT 韌體的版本。

範例

#include "Ethercat.h"

EthercatMaster master;

void setup(void) {
    master.begin();
    master. firmwareVersion( );
}
void loop() {}

函式庫參考主頁面

86Duino 參考的文本是根據 Creative Commons Attribution-ShareAlike 3.0 License,部分文本是從 the Arduino reference 修改的。 參考中的代碼示例已發佈到公共領域。

發表評論

上部へスクロール