Hallo,
Ich versuche derzeit einen Magnet-Sensor mit dem Raspberry zum Laufen zu bringen.
Da gelingt mir aber noch nicht!
Das Problem liegt darin, wenn ich via SSH versuche den Wert des GPIO auszulesen wird immer ein anderer Wert angezeigt, obwohl der Zustand des Sensors gleich bleibt.
z.B.
gpio -g read 16 # --> 0
gpio -g read 16 # --> 1, Zustand gleich
gpio -g read 16 # --> 1, Zustand gleich
gpio -g read 16 # --> 0, Zustand gleich
gpio -g read 16 # --> 0, Zustand gleich
gpio -g read 16 # --> 0, Zustand gleich
.......
P.S wenn nötig: Tutorial nachdem ich mich gerichtet habe: http://tutorials-raspberrypi.de/gpio/ueberwach…m-raspberry-pi/
Ich hoffe auf eure Hilfe
LG jwxHD