返回
摘要: #include #include #include #include // IRremote库声明 #include //ProtoThreads必须包含的头文件 #include #include #include #include #define PT_USE_TIMER #define PT_USE_SEM Servo myservo; Li... 阅读全文
posted @ 2017-12-16 20:52 feige_hunter 阅读(627) 评论(0) 推荐(0)
摘要: 1.直接与Arduino相连 2.通过转接板利用I2C的方式与Arduino相连 1. 直接与Arduino相连 直接与Arduino相连的好处是不用现另外购买转接板,但这样造成的后果就是要大量占用Arduino的IO口。如果你的项目外接的传感器不多,那还好,但如果你需要外接很多个传感器或者其他配件 阅读全文
posted @ 2017-12-16 18:09 feige_hunter 阅读(1935) 评论(0) 推荐(0)