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 22:47, 8 November 2010
116 bytes added
,
22:47, 8 November 2010
→Door bell / Burglar alarm
Line 127:
Line 127:
[[File:Doorbell.jpg]]
[[File:Doorbell.jpg]]
−
You
also
need to type the following into Pippy and save to the Journal. The indents on the last 3 lines are important.
+
The Python Code Block [[File:Pythoncodeblock.jpg]] is used to sound an alarm in your loudspeakers.
+
+
You need to type the following into Pippy and save to the Journal. The indents on the last 3 lines are important.
[[File:Doorbell python.jpg]]
[[File:Doorbell python.jpg]]
−
Load
the Pippy code [[File:TAPippyButton.svg]] into the Python Code Block [[File:Pythoncodeblock.jpg]] , then run your program.
+
Then in Turtle Art, load
the Pippy code [[File:TAPippyButton.svg]] into the Python Code Block [[File:Pythoncodeblock.jpg]] , then run your program.
==Links==
==Links==
Tonyforster
2,486
edits