月度存档: 五月 2014

树莓派控制云台按角度转动

代码下载: git clone https://github.com/offbye/rpiservocamra.git

 

2) install ServoBlaster
Please read ServoBlaster/README.txt for more information
$: cd ServoBlaster/
$: ls
$:  make servod
$:  sudo ./servod
$: echo 1=160 > /dev/servoblaster

 

Copy web to your php web server. then you can browser it in Chorome browser
http://yourserver/web/cam.html

让nodejs 开启自动启动

首先,安装Forever:

npm install forever -gd

这样Forever就安装好了,我们可以直接运行Forever命令: 继续阅读 »