Activities/Turtle Art/Using Turtle Art Sensors: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
| Line 122: | Line 122: | ||
==Door bell / Burglar alarm== | ==Door bell / Burglar alarm== | ||
Visitors touch the two wires together to ring your door bell. Alternatively, arrange two wires to touch as your door opens. | Visitors touch the two wires together to ring your door bell. Alternatively, arrange two wires to touch as your door opens. | ||
Here are the Turtle blocks: | |||
[[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. | |||
[[File:Doorbell python.jpg]] | |||
Load the Pippy code into the Python Code Block, then run your program. | |||
==Links== | ==Links== | ||