Änderungen

Aus Linkerkit.de

Wechseln zu: Navigation, Suche

LK-Joystick

50 Byte entfernt, 13:09, 9. Nov. 2016
/* Codebeispiel Raspberry */
==Codebeispiel Raspberry==
 
<pre class="brush:py">import RPi.GPIO as GPIO
import spidev
spi = spidev.SpiDev()
spi.open(0,0)
#GPIO.setwarnings(False)
#GPIO.setmode(GPIO.BCM)
def readadc(adcnum):