Hello!
Can anyone help me to set up my Orange Pi one ,that I could use gpio's with node-red?
I am using armbian 5.22.
Recently I am trying to manage my OPi One to work with Node-Red. Today I finally set it up and was able to start Node-red.
After that I tried several hours to manage GPIOs ,but nothing worked.
Is there a short version how to manage gpios to get them working.
So today I installed nodejs 4.xx, npm@2.x. After that I installed wiringPi from github, then I added to node-red -> npm wiring-Pi and modified settings.js , after that I tried npm -> wiring-op and still nothing. I my experimentations today I started 3 times with cleans jessie install, every time trying different git sources and different tutorials. At one point I get same error as in this article ''Error: setup: arguments['mode'] => ("undefined" in ("wpi", "gpio", "sys", "phys")) === false'' , removing and rebooting did not solve it for me.
BTW I managed gpio readall to show gpios, and even example blink file in C with wiringPi worked.
Can anyone help me with correct sequence and what exact git sources I should use? p.s. at the moment I find a lot of badly documented sources in github, but whitch one will work?