Simple example for sending a command to an I2C slave programmed to start or stop a blinking LED.
Simple example written in Rust, cross-compiled to run on a Raspberry Pi with ARMv6 architecture, and successfully connected to an Arduino programmed with arduino-i2c-slave-blinker.
To run, clone this repository and build/run with cargo.
To turn on the blinking:
cargo run on
To turn off the blinking:
cargo run off
This example was tested on a Raspberry Pi with I2C enabled.