groupgets / LeptonModule

Code for getting started with the FLIR Lepton breakout board
https://groupgets.com/manufacturers/flir/products/flir-lepton
BSD 2-Clause "Simplified" License
317 stars 197 forks source link

Parameterize which i2c bus is used on the Pi #23

Closed pcernek closed 8 years ago

pcernek commented 8 years ago

Currently, the i2c bus to use on the Pi is hard-coded to /dev/i2c-1 in the file software/raspberrypi_libs/leptonSDKEmb32PUB/raspi_I2C.c. For those who want to connect two Leptons to a single Raspberry Pi, taking advantage of the Pi's two i2c buses, it would be better if this were parameterized in this file and specified at a higher level.

kekiefer commented 8 years ago

For reference, the OP's Google Groups post on this topic.

Please let us know if you come up with a solution, we'll be happy to merge your pull request.

kekiefer commented 8 years ago

PR #24 merged

wenyueqiang commented 8 years ago

MY LEPTON IIC have no response!why