07-17-2017, 09:33 PM
(This post was last modified: 07-17-2017, 09:34 PM by MarkHaysHarris777.)
You have three options for programming the gpio(s) on the PineA64+:
1) sysfs filesystem and bash scripting /sys/class/gpio/...
2) RPi-GPIO.PineA64
3) PineA64-CPP
Forget what you know about x86 Intel hardware; these are Arm SoC(s); you need to understand the mux io lines gpio(s). Also, forget what you know about C#; this is a perfect world, and windows is not a part of it.
No. (1) above is the ability to export a gpio mux to user space and then read or write its state (value) with a bash script or other wrapper like python. No. (2) above is the Raspberry PI (like) python interface to the gpio mux lines. No. (3) above is a fairly recent C++ library for access to the gpio mux lines via C|C++.
There are many examples (some from myself) in the forum here under Pine64+ ---> Hardware Accessories , POT ---> PI-2 Euler GPIO ports
We have included examples in sysfs, RPi, and C++; we have shown how to blink the LED lab, run a brushless fan with software pwm, and other examples.
Also, the PineA64+ is not an MCU. It is a full blown gnu+linux computer; you can do the development right on the board; no need for C#, nor windows anything; in fact what you know about the Win-Tel platform will just get in your way here. Start with the three above, look through the forum, and visit us on the irc; I won't do your work for you, but I can answer specific questions we you get stuck;
1) sysfs filesystem and bash scripting /sys/class/gpio/...
2) RPi-GPIO.PineA64
3) PineA64-CPP
Forget what you know about x86 Intel hardware; these are Arm SoC(s); you need to understand the mux io lines gpio(s). Also, forget what you know about C#; this is a perfect world, and windows is not a part of it.
No. (1) above is the ability to export a gpio mux to user space and then read or write its state (value) with a bash script or other wrapper like python. No. (2) above is the Raspberry PI (like) python interface to the gpio mux lines. No. (3) above is a fairly recent C++ library for access to the gpio mux lines via C|C++.
There are many examples (some from myself) in the forum here under Pine64+ ---> Hardware Accessories , POT ---> PI-2 Euler GPIO ports
We have included examples in sysfs, RPi, and C++; we have shown how to blink the LED lab, run a brushless fan with software pwm, and other examples.
Also, the PineA64+ is not an MCU. It is a full blown gnu+linux computer; you can do the development right on the board; no need for C#, nor windows anything; in fact what you know about the Win-Tel platform will just get in your way here. Start with the three above, look through the forum, and visit us on the irc; I won't do your work for you, but I can answer specific questions we you get stuck;
marcushh777
please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )

please join us for a chat @ irc.pine64.xyz:6667 or ssl irc.pine64.xyz:6697
( I regret that I am not able to respond to personal messages; let's meet on irc! )