Raspberry pi4 to Arduino Pro mini i2c protocol and Arduino Pro mini to Arduino Leonardo UART connection example.
- Compile i2c Master
gcc i2c_master.cpp -o i2c_master -lstdc++ -lwiringPi
-
Upload code to Arduino boards.
-
Run Master
./master/i2c_master