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模块的接线图,效果图等等

[quote=“jifenbao”, post: 4, topic: 241]
jifenbao 发表于 2015-3-6 10:20
可以说的详细点
比如i2c模块的接线图,效果图等等
[/quote]

我还没做呢:L

[quote=“1445788683”, post: 5, topic: 241]
Qubot 发表于 2015-3-6 10:31
我还没做呢
[/quote]

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

[quote=“jifenbao”, post: 6, topic: 241]
jifenbao 发表于 2015-3-6 11:09
我倒是i2c芯片什么都有,就差个bpi的板子了
空的时候用raspi做一个发上来 …
[/quote]

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