I have Raspberry pi 4B, and I want to interact with the GPIO pins. I connected simple LED wiring to physical pin's 37(GPIO25) and 39(GND). After exported pin, and set up mode to "out", I tried put GPIO25 to High, but led is off all time. Reading pin state by "gpio readall" command, gives me following output:
But when I trying read pins state's using the sysfs interface, I receiving "0" value:
cat /sys/class/gpio/gpio25/value
0
Mode is correct:
cat /sys/class/gpio/gpio25/direction
out
After reboot, all pins are unexported, and have mode set up to "in":
Problem exists on all pins. Before, I never used pins (except fan, but it was connected to 5V pin, and working fine). I updated system and wiringpi library (to 2.52 version). I tried also interact with pin's on newly installed system, but still is the same . It means that my rpi is physical broken ? What else I can to do with these case ?