Hi,
I am using S2Bot for Lego Boost.
I use the "turn motor on for <s> secs" command (motorOnFor) in Scratch2.
According to Lego specification https://lego.github.io/lego-ble-wir...-time-speed-maxpower-endstate-useprofile-0x09
this command has 'speed' and 'power' parameters:
StartSpeedForTime (Time, Speed, MaxPower, EndState, UseProfile)
Question: what is the value for speed and power when the "turn motor on for <s> secs" command is used in Scratch2?
The s2bot.pdf document seems to mix-up the two parameters: (page 18/38)
> 6.5 Controlling motors
> For simple applications you can use the motor commands to switch individual motors on and off for various amounts of time.
> Power can be set between 0 and 100 to adjust the motor speed.
Thank you.
Best Regards,
Laurent
I am using S2Bot for Lego Boost.
I use the "turn motor on for <s> secs" command (motorOnFor) in Scratch2.
According to Lego specification https://lego.github.io/lego-ble-wir...-time-speed-maxpower-endstate-useprofile-0x09
this command has 'speed' and 'power' parameters:
StartSpeedForTime (Time, Speed, MaxPower, EndState, UseProfile)
Question: what is the value for speed and power when the "turn motor on for <s> secs" command is used in Scratch2?
The s2bot.pdf document seems to mix-up the two parameters: (page 18/38)
> 6.5 Controlling motors
> For simple applications you can use the motor commands to switch individual motors on and off for various amounts of time.
> Power can be set between 0 and 100 to adjust the motor speed.
Thank you.
Best Regards,
Laurent