Änderungen
Aus Linkerkit.de
/* Codebeispiel Raspberry */
==Codebeispiel Raspberry==
<pre class="brush:py">import RPi.GPIO as GPIO
import spidev
y = readadc(joyY)
print("X: " + str(x) + " Y: " + str(y))
if(x > 1000): print("Joystick gedrueckt") sleep(0.51)
</pre>