Hi,
try the suggestion from ironman with the pi and nothing connected to the pi just the naked pi please.
No leveler, no arduino nothing. Just the pi, connected to a power source (USB).
Then try it again.
Measure between the GPIO and a ground GPIO.
What measurements get you then?
@ironman: Are you shure that wiring pi is installed? The code works only with wiring pi I think?
If not, thereĀ“s a possibility to switch a GPIO via the shell with some "echo"-commands. For a "normal" pi:
(sudo) echo "8" > /sys/class/gpio/export
(sudo) echo "out" > /sys/class/gpio/gpio8/direction
(sudo) echo "1" > /sys/class/gpio/gpio8/value
(sudo) echo "0" > /sys/class/gpio/gpio8/value
Regards
Andreas
try the suggestion from ironman with the pi and nothing connected to the pi just the naked pi please.
No leveler, no arduino nothing. Just the pi, connected to a power source (USB).
Then try it again.
Measure between the GPIO and a ground GPIO.
What measurements get you then?
@ironman: Are you shure that wiring pi is installed? The code works only with wiring pi I think?
If not, thereĀ“s a possibility to switch a GPIO via the shell with some "echo"-commands. For a "normal" pi:
(sudo) echo "8" > /sys/class/gpio/export
(sudo) echo "out" > /sys/class/gpio/gpio8/direction
(sudo) echo "1" > /sys/class/gpio/gpio8/value
(sudo) echo "0" > /sys/class/gpio/gpio8/value
Regards
Andreas