BPI-D1的GPIO、i2c测试代码

  1. The gpio sample makes led on D1s blinking 3 times.
  2. To access i2c device, you can just use opensource i2c tools, or this demo. For example how to read and write rtc(ds1307) device: ./i2c-test r 0x68 0 0x12 //rtc registed on 0x68, and we read from 0x0 to 0x12. ./i2c-test w 0x68 0x1 0x49 //set minute to 49.

https://github.com/Lamobo/Lamobo-D1s/tree/master/src/samples

D1看来也要起来啦,有机会体验一下去

biubiubiudadada

可以说的详细点
比如i2c模块的接线图,效果图等等

我还没做呢:L

我倒是i2c芯片什么都有,就差个bpi的板子了:lol
空的时候用raspi做一个发上来

多多在论坛活跃,获得的机率会变大