|
Edited by danybr at 2017-3-4 05:04
Hello everybody,
I have an orangePi Lite and i have installed WiringOP from this repository: https://github.com/zhaolei/WiringOP
Now, following a tutorial, I have connect a led on the pin 29 (PA7, GPIO21).
My script, testLed.sh, has this code:
- #!/bin/bash
- gpio mode 29 out
- while true ; do
- gpio write 29 we
- sleep 5
- gpio write 29 off
- sleep 1
- done
Copy code But it doesn't work. Can you help me?
I have an Armbian 5.25 Orangepilite_Ubuntu_xenial image.
Thanks
EDIT: OK, my fault!! The pin 29 in the code is referred on the pin 40 in the orangepi. It works
|
|