https://interactionstation.wdka.hro.nl/mediawiki/index.php?title=A_button_that_does_something&feed=atom&action=history
A button that does something - Revision history
2024-03-29T02:15:36Z
Revision history for this page on the wiki
MediaWiki 1.35.7
https://interactionstation.wdka.hro.nl/mediawiki/index.php?title=A_button_that_does_something&diff=9118&oldid=prev
Annasa at 10:14, 21 November 2022
2022-11-21T10:14:54Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:14, 21 November 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l35" >Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Raspberry <del class="diffchange diffchange-inline">pi</del>]]</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:Raspberry <ins class="diffchange diffchange-inline">Pi</ins>]]</div></td></tr>
</table>
Annasa
https://interactionstation.wdka.hro.nl/mediawiki/index.php?title=A_button_that_does_something&diff=9032&oldid=prev
Annasa at 08:21, 21 November 2022
2022-11-21T08:21:21Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 08:21, 21 November 2022</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l35" >Line 35:</td>
<td colspan="2" class="diff-lineno">Line 35:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></source></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Raspberry pi]]</ins></div></td></tr>
</table>
Annasa
https://interactionstation.wdka.hro.nl/mediawiki/index.php?title=A_button_that_does_something&diff=1709&oldid=prev
Oyo: Created page with "So how about wiring a button input that is able to trigger an output? We need something like this File:Button breadboard.png and some code to run ( this example is ju..."
2016-11-03T14:42:42Z
<p>Created page with "So how about wiring a button input that is able to trigger an output? We need something like this <a href="/wiki/File:Button_breadboard.png" title="File:Button breadboard.png">File:Button breadboard.png</a> and some code to run ( this example is ju..."</p>
<p><b>New page</b></p><div>So how about wiring a button input that is able to trigger an output?<br />
<br />
We need something like this<br />
<br />
<br />
[[File:Button breadboard.png]]<br />
<br />
<br />
and some code to run ( this example is just starting another code )<br />
<br />
<br />
<source lang="python"><br />
<br />
<br />
#!/usr/bin/env python<br />
<br />
import RPi.GPIO as GPIO<br />
import time<br />
import os<br />
import subprocess<br />
GPIO.setmode(GPIO.BCM)<br />
<br />
# setup pin 23 as an intput<br />
GPIO.setup(23,GPIO.IN)<br />
GPIO.add_event_detect(23, GPIO.RISING, bouncetime=800)<br />
<br />
<br />
<br />
while True:<br />
if GPIO.event_detected(23):<br />
print 'click' <br />
os.popen("python /root/Desktop/anothercode.py")<br />
<br />
GPIO.cleanup()<br />
<br />
</source></div>
Oyo