Skip to content

Commit 6f21da8

Browse files
committed
Replace Robot with *
1 parent 00a63a1 commit 6f21da8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/api/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The following two lines are required to complete initialisation of the
1313
kit:
1414

1515
``` python
16-
from sbot import Robot
16+
from sbot import *
1717

1818
r = Robot()
1919
```

content/tutorials/basic-movement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The actual direction of travel of a motor, when mounted on a robot, will depend
1515
Here's the code:
1616

1717
```python
18-
from sbot import Robot
18+
from sbot import *
1919

2020
r = Robot()
2121

@@ -54,7 +54,7 @@ If you find that the motor doesn't turn when you run the above code, check that
5454
Now we're going to modify the program to vary the speed of the motor. Our aim is to do the forwards and backwards bit (as above), but, before we loop round again, ramp the power up to 70%, then down to -70%, and then back to 0 (all in steps of 10%). Here's the code:
5555

5656
```python
57-
from sbot import Robot
57+
from sbot import *
5858

5959
r = Robot()
6060

0 commit comments

Comments
 (0)