Mblock and servomotor


#1

Hello,
I want to know how to program a servomotor (continue) on MBLOCK for it oscillates between 45 degrees and - 45 degrees only.
Thank you in advance for help,
Askar


#2

Hi Askar,

Since in there is only +45 in the options of the program block. If you want to oscillates between 45 degrees and - 45 degrees, you may set a physical direction as 0 degree, then attach the servo plate point to physical direction -45 degree.
When you set the angle 0 in program, actually, it will point to physical direction -45 degree and when you set the angle to 90, it will point to physical direction 45 degree.

Here is a instruction to guide program servo to you for referenceHow to program for 9g servo to test if it works properly.zip (1.8 MB)