gpio load i2c结果发现已经加载了i2c,gpio i2cd已经识别出地址是40的i2c模块,下一步就是怎么用这个模块了
……
首先要有git,这个在M3的ubuntu镜像中已经集成了
git clone https://github.com/BPI-SINOVOIP/BPI-WiringP……
期待已久的BPI-WiringPi for M3终于发布了,可以去github体验了
https://github.com/BPI-SINOVOIP/BPI-Wi……
两个灯分别是0和4号,具体资料可以查询这里
https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_ap……
dofile("web.lua") 执行后,浏览器输入IP,就可以操作板子上的灯了
……
网页开关灯的测试
led1 = 0
led2 = 4
gpio.mode(led1, gpio.OUTPUT)
gpio.mode(led2, gpio.OU……