==Codebeispiel Raspberry==
<pre class="brush:py">import RPi.GPIO as GPIO
GPIO.setup(tilt, GPIO.IN, pull_up_down = GPIO.PUD_UP)
while True:</pre>
if GPIO.input(tilt) == GPIO.HIGH:
GPIO.output(led, True)
else:
GPIO.output(led, False)
</pre>
==Downloads==