ラズパイやArduinoでセンサーなどを使うときにI2C通信がよく使われています。この場合、ラズパイやArduinoがマスターで、センサーがスレーブになって、マスターからスレーブのデータを書き込んだり、データを読み出したりします。 センサーなどの代わりに ...
ラズパイからArduinoにファイルを送りたい場合があるかと思います。例えば、音楽ファイルとか画像ファイルとか。 あらかじめSDカードに書き込んでオフラインで渡すというので用が足りる場合は良いのですが、動作中にデータを変えたい場合もあるかと思い ...
The most difference to the original LiquidCrystal library from Arduino is that this library supports printf() functionality. When using PlatformIO and AVR, to support float you must add following line ...
This articles describes how you can use I2C (TWI) communication, Arduino and temperature sensors to measure 3 different temperatures. It can be very helpful when you want to measure the outside, ...
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 ...
Assume that you are moving towards a complex microcontroller project bundled with blinkers, beepers, and a display panel. To link a standard 16×2 LCD directly with the microcontroller, for instance ...
static int _i2c_ctrl_open(const audio_codec_ctrl_if_t *ctrl, void *cfg, int cfg_size) ...