摘要:
转载:http://blog.csdn.net/u012223913/article/details/51242054 首先先明确一点,360度舵机无法像180度舵机一样控制角度,它只能控制方向和速度。 arduino的<servo.h>库提供两个函数控制舵机。write()和writeMicros 阅读全文
摘要:
今天在LINUX下编译C程序时,出现了:warning: the `gets' function is dangerous and should not be used. 这个warning。 百度之后,得知 问题出在程序中使用了 gets ,Linux 下gcc编译器不支持这个函数,解决办法是使用 阅读全文