Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activities/Turtle Art/Using Turtle Art Sensors
(view source)
Revision as of 17:35, 8 March 2011
125 bytes removed
,
17:35, 8 March 2011
→Door bell / Burglar alarm
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.
−
The
following code
is now a built in sample <i>sinewave.py</i>. If instead, you type it
into Pippy, the indents are important.
+
Enter the
following code into Pippy, the indents are important.
[[File:Doorbell python.jpg]]
[[File:Doorbell python.jpg]]
Line 195:
Line 195:
[[File:Warbling alarm TA.jpg]]
[[File:Warbling alarm TA.jpg]]
−
The following code is now a built in sample <i>sinewave.py</i>
. If instead, you type it into Pippy, the indents are important
.
+
The following code is now a built in sample <i>sinewave.py</i>.
[[File:2tone python.jpg]]
[[File:2tone python.jpg]]
Tonyforster
2,486
edits