Programming Parallax Servo
bluejay
Posts: 131
When programming the servo in BS2 basic language, one example is " For counter = 1 to 220
Pulsout 12, 750
Pause 20
Next"
Can someone please tell me why program a loop, and what is the equivalent program above in BlocklyProp? Thanks
Pulsout 12, 750
Pause 20
Next"
Can someone please tell me why program a loop, and what is the equivalent program above in BlocklyProp? Thanks
This discussion has been closed.
Comments
the length of the pulse send in that period determines the position of the servo.
no clue about blockly,
Mike
If you click the gear icon, top right of your thread title, you can choose Edit to alter the title.
Ps. done it for you this time
I think that coding a servo with a loop is to hold the servo pointer at a certain position for a specific time. Can someone provide me with a blockly coding? Thanks