我想找...

搜尋

分享

目錄

EthercatMaster.end()

[Ethercat Master]

描述

Deinitialize the EtherCAT master.

語法

void end();

參數

回傳值

備註

The function must be called after EthercatMaster::begin() and before EthercatMaster::start(). This function is blocking and cannot be called within the callback functions.

範例

#include "Ethercat.h"

EthercatMaster master;

void setup()
{
    master.begin();
    master.end();
}

void loop()
{

}

Please see the EtherCAT Library User Manual for more QEC EtherCAT instructions and API usage.

返回頂端