Activities/Turtle Art/Using Turtle Art Sensors: Difference between revisions

Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 183: Line 183:
The Python Code Block [[File:Pythoncodeblock.jpg|50px]] is used to sound an alarm in your loudspeakers.  
The Python Code Block [[File:Pythoncodeblock.jpg|50px]] is used to sound an alarm in your loudspeakers.  


You need to type the following into Pippy and save to the Journal. Type it exactly as shown, the indents on the last 3 lines are important, for the characters '-l 1' the first is an 'el' and the second a 'one'.
The following code is now a built in sample <i>sinewave.py</i>. If instead, you type it into Pippy, the indents are important.


[[File:Doorbell python.jpg]]
[[File:Doorbell python.jpg]]