Activities/Turtle Art/Using Turtle Art Sensors: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
| Line 194: | Line 194: | ||
Save to the journal, then in Turtle Art, load the Pippy code [[File:TAPippyButton.svg]] into the Python Code Block [[File:Pythoncodeblock.jpg]]. When the Python Code Block is executed, the contents of the heap are placed on the clipboard. | Save to the journal, then in Turtle Art, load the Pippy code [[File:TAPippyButton.svg]] into the Python Code Block [[File:Pythoncodeblock.jpg]]. When the Python Code Block is executed, the contents of the heap are placed on the clipboard. | ||
===Example, import temperatures into Gnumeric spreadsheet=== | |||
For example, temperatures are logged and then copied to the clipboard. This builds on measuring with a thermistor and the XO1 previously. The temperature is measured and pushed to the heap, then a 5 second delay. This repeats 20 times. Then the contents of the heap are copied to the clipboard. | For example, temperatures are logged and then copied to the clipboard. This builds on measuring with a thermistor and the XO1 previously. The temperature is measured and pushed to the heap, then a 5 second delay. This repeats 20 times. Then the contents of the heap are copied to the clipboard. | ||