Skip to content

Commit d5050d9

Browse files
authored
Merge pull request #26 from FoamyGuy/angle_docs
fix heading angle table in docs
2 parents 40fe2be + 79ee378 commit d5050d9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

adafruit_turtle.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,14 @@ def setheading(self, to_angle):
421421
"""Set the orientation of the turtle to to_angle. Here are some common
422422
directions in degrees:
423423
424-
standard mode | logo mode
425-
0 - east | 0 - north
426-
90 - north | 90 - east
427-
180 - west | 180 - south
428-
270 - south | 270 - west
424+
===== ============= ==========
425+
angle standard mode logo mode
426+
===== ============= ==========
427+
0 east north
428+
90 north east
429+
180 west south
430+
270 south west
431+
===== ============= ==========
429432
430433
:param to_angle: the new turtle heading
431434

0 commit comments

Comments
 (0)