setup()
the setup function to initialize an application.
Called at the beginning of code execution to write initialization code.
TWENET initialization is also executed after the setup()
function exits. Do not do anything other than initialization here, since most of the processing is done after TWENET exits.
Items to be noted are listed below.
Sleep
the_twenet.sleep()
cannot be executed. If you want to sleep immediately after initialization, write the first sleep process in thebegin()
function.The
delay()
function is replaced by the processing described below. In this case, the parameterms
does not specify milliseconds. \frz
* Alternative processing for delay()
.
最終更新