turn sample into blocks
This commit is contained in:
parent
ed8f8bafa7
commit
271721561d
@ -26,7 +26,7 @@ motors.largeA.run(50, 500)
|
|||||||
|
|
||||||
Here is how you use each different movement unit to run the motor for a fixed rotation distance.
|
Here is how you use each different movement unit to run the motor for a fixed rotation distance.
|
||||||
|
|
||||||
```typescript
|
```blocks
|
||||||
// Run motor for 700 Milliseconds.
|
// Run motor for 700 Milliseconds.
|
||||||
motors.largeA.run(25, 700, MoveUnit.MilliSeconds);
|
motors.largeA.run(25, 700, MoveUnit.MilliSeconds);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user