echo 0 = 50% > /dev/servoblaster - Raspberry Pi Forums


hi guys poested troubleshooting. can me
connect 1 servo , controll in bash terminal :
echo 0 = 50% >/dev/servoblaster
how can write whole code can send commands @ same time
in terminal can set 1 command , want controll 6 servo's in geany in c
how can that
thank
mb

in c open /dev/servoblaster writing (you need open device once, @ start of program).

write string "0=50%\n" device. new line important. don't think command processed if absent.

use similar commands each servo have connected.


raspberrypi



Comments

Popular posts from this blog

Help with Missing Filename Error?

Using phone battery to power a plane.

more info - Joomla! Forum - community, help and support