Skip to content

Commit c62cd4e

Browse files
committed
Update the LED pin numberings
We removed some other sensors this year, meaning that these pin numbers changed.
1 parent 9f8b392 commit c62cd4e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

simulator/programming/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,16 @@ These are shown as blue coloured blocks on the robot. The `analogue_read` method
7171

7272
#### LEDs
7373

74-
The LEDs are attached to digital pins 7-12:
74+
The LEDs are attached to digital pins 4-9:
7575

7676
| Pin | Location |
7777
|-----|----------|
78-
| 7 | Red (right) |
79-
| 8 | Green (right) |
80-
| 9 | Blue (right) |
81-
| 10 | Blue (left) |
82-
| 11 | Green (left) |
83-
| 12 | Red (left) |
78+
| 4 | Red (right) |
79+
| 5 | Green (right) |
80+
| 6 | Blue (right) |
81+
| 7 | Blue (left) |
82+
| 8 | Green (left) |
83+
| 9 | Red (left) |
8484

8585
Using the `digital_write` method, you can set these to True (On) or False (Off).
8686

0 commit comments

Comments
 (0)