Änderungen

Aus Linkerkit.de

Wechseln zu: Navigation, Suche

LK-Tilt

6 Byte entfernt, 14:56, 19. Okt. 2016
/* Codebeispiel Raspberry */
GPIO.setup(tilt, GPIO.IN, pull_up_down = GPIO.PUD_UP)
while True:</pre>
if GPIO.input(tilt) == GPIO.HIGH:
GPIO.output(led, True)