Wire
二線シリアル(I2C) master の読み書き (mwx::periph_wire)
型定義
typedef uint8_t size_type;
typedef uint8_t value_type;注意事項
初期化と終了
Wire インスタンスの生成
begin()
例
読み書き
その他
プローブ(デバイスの存在判定)
最終更新
二線シリアル(I2C) master の読み書き (mwx::periph_wire)
typedef uint8_t size_type;
typedef uint8_t value_type;最終更新
void begin(
const size_type u8mode = WIRE_100KHZ,
bool b_portalt = false)void setup() {
...
Wire.begin();
...
}
void wakeup() {
...
Wire.begin();
...
}bool probe(uint8_t address)