SW-520D 倾斜角度传感器控制led AODO
intLed=4;//定义LED接口intbuttonpin=10;//定义倾斜传感器接口intval;//定义数字变量valconstintbuttonPinA=A0;intinputValue=0;
下载地址
用户评论