Wire.begin(), Wire.begin(address)

描述

初始化 Wire 函式庫並且指明 86Duino 是主端(master)還是從端(slave)。正常來說 begin 只需要呼叫一次。

參數

address(非必要):如果 86Duino 要作為主端則不需要提供參數,如果 86Duino 要作為從端則要提供一個七位元的位址

回傳

無回傳值


函式庫參考主頁面

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