Notepad icon Notepad Notepad for ARC: store project notes and connection details in a themed window Try it →

ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

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.