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

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'