An Arduino library for I²C GPIO-expander with sample code. To operate the port for input, the IO pins can be configured bit by bit. The config bit for output is 0 and input is 1. When the bit 0 to 4 ...
ラズパイやArduinoでセンサーなどを使うときにI2C通信がよく使われています。この場合、ラズパイやArduinoがマスターで、センサーがスレーブになって、マスターからスレーブのデータを書き込んだり、データを読み出したりします。 センサーなどの代わりに ...
The two SCD41 sensors we want to connect have an I2C address of 0x62, which cannot be changed. Therefore, to communicate with both sensors from the micro controller, we will use a separate I2C bus for ...
ラズパイからArduinoにファイルを送りたい場合があるかと思います。例えば、音楽ファイルとか画像ファイルとか。 あらかじめSDカードに書き込んでオフラインで渡すというので用が足りる場合は良いのですが、動作中にデータを変えたい場合もあるかと思い ...
The I2C (Inter-Integrated Circuit) bus is a synchronous serial communication protocol that allows multiple electronic components (sensors, displays, memories, etc.) to be connected within the same ...