Skip to content

jerrysxie/pi5-i2c-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi5-i2c-test

This is an example Rust program to manipulate the I2C bus on Raspberry Pi on Raspbian Linux

Setup

  1. Enable I2C interface using config.txt or Raspberry Pi Configuration. Make sure i2cdetect -l shows i2c-1
  2. Hook up to the I2C1 pins of Pi
  3. Hook up a GPIO pin to Pi as interrupt line
  4. Reconfigure the pin number in main.rs if needed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages