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.