I’m trying to blink a led using this library https://github.com/LeMaker/WiringBP
Location of the example file: root@bananapim2zero:~/WiringBP/examples/blink.c
I manage to compile the blink.c file using this command
gcc blink.c -o blink -lwiringPi -lpthread
executed like this
sudo chmod +x ./blink
sudo ./blink
The string appears:
Raspberry Pi blink
…but nothing happens with the led. And yes the led and resistor are properly connected. If i change the red led from the GPIO to the 5V the LED turns on. I tested using raspberry pi zero and the setup works. How do i blink a led using BPI-M2 Zero? Can you suggest other library? The GPIO is not working correctly with this image? I’d like to use this BPI board for my company robotic projects.
Thanks for the effort here. I was wondering if there was any documentation you could provide on building my own image. I see that this is on 4.4 I assume you had to do a lot of patching to get the 3.4 updated ? Any info would be appreciated as I was hoping to build up my own custom image. Thanks!