项目作者: saibatizoku

项目描述 :
Simple example for sending a command to an I2C slave programmed to start or stop a blinking LED.
高级语言: Rust
项目地址: git://github.com/saibatizoku/hello-i2c-pi.git
创建时间: 2017-06-08T03:46:30Z
项目社区:https://github.com/saibatizoku/hello-i2c-pi

开源协议:

下载


Start/Stop a blinking LED on an I2C slave

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:

  1. cargo run on

To turn off the blinking:

  1. cargo run off

This example was tested on a Raspberry Pi with I2C enabled.