On Mon, Jan 8, 2018 at 11:24 PM, Richard Wilbur
<[email protected]> wrote:

> It all sounds like fun!  What can I help with first?

well... perhaps... something simple like.. a simple program that tests
GPIO, assuming that say 4 hard-wires are connected between 8 GPIOs in
pairs, turning one into an input and the other an output, then setting
0 and 1 and seeing if it's read correctly... then inverting each pair
(out becomes in, in becomes out) and re-running the test.

 something in either c or python that uses the sunxi-3.4 gpio driver:
   
https://github.com/linux-sunxi/linux-sunxi/blob/stage/sunxi-3.4/drivers/gpio/gpio-sunxi.c

 that _should_ be exposed as /dev/gpio which should in turn appear in
either /sys or /proc... it should be a standard interface, with a
standard way to set which banks are activated... you might have to do
some digging.

 l.

_______________________________________________
arm-netbook mailing list [email protected]
http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook
Send large attachments to [email protected]

Reply via email to