
djjon1976
Australia
Asked
Hi all.
Is there anyway of having a servo randomly do stuff? Almost like a demo situation? So the robot just sits there and moves his head, or says something random.
Thanks all.
Jonno
Hello @djjon1976
It's likely because Sleep has a capital S, make it lower case
Jeremie is correct - I typed it on my phone and it must have been auto capatlized. Here's the manual for Javascript: https://synthiam.com/Support/javascript-api/javascript-overview
Otherwise, since you may be new to programming - the Blockly might be easiest for ya. Here's a sketch to do what you want...
That fixed it!
Cheers all.