Azure Text To Speech icon Azure Text To Speech Azure TTS for ARC robots: generate natural, customizable neural voices for companion, educational, assistive, and entertainment applications. Try it →

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

You could script it quite easily.


$pwm_target = 100 # Set for target speed
$pwm_start = 0 # Set for start speed
PWM(D0,$pwm_start)

:loop
IF(GetPWM(D0) < $pwm_target)
  PWM(D0,$pwm_start)
  $pwm_start= $pwm_start + 5 # Change 5 to required amount for speed of increase
ELSE
  Halt() # PWM at required level, stop script.
ENDIF
Sleep(10) # Change sleep to suit speed.
GOTO(loop)

Apologies if the code is a bit messy and not explained too well I'm strapped for time but it should give an idea (hopefully)

#2  

Ok, I understand how the code works. Now it's clear. Thanks;)

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Or you can servospeed() command. It applies to PWM as well

for example


ServoSpeed(d0, 4)

PWM(d0, 5)

Sleep(3000) 

PWM(d0, 90)

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#4  

Even I learn something new from time to time, I did not know ServoSpeed() applied to PWM too, that's much easier:)