Microphone icon Microphone — Record audio from your PC mic, auto-trigger and edit sample rate/effects, then play or export recordings to an EZ-B v4 SoundBoard for robot playback. Try it →

ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
United Kingdom
YouTube
#9  

@nomad.

Email received.:)

Author Avatar
Gibraltar
#10  

@SteveG this is exactly what I was looking for but I copied and paste #Servo move up If(getservo(D9>140) Servoup(D9,10) Endif Sleep(100) and all the other directions to my project and get this
Start 2: If(getservo(D9>140)

Error on line 2: Missing ) in Expression Done (00:00:00.0170161) what am I missing coz I can't get my old head around coding

#11  

@bborastero if it is this line below, there was a missing brace.... If(getservo(D9>140) should be


If(getservo(D9)>140)
Author Avatar
United Kingdom
YouTube
#12  

@bborastero.

Yep, looks like Richard got it. That should get you fixed up.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#13  

Do not modify the code for the camera.

Simply press the button direction that you would like to move the head. Press it again to stop moving.