[Arm-netbook] Crowsupply update
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Tue Jan 9 00:23:40 GMT 2018
On Mon, Jan 8, 2018 at 11:24 PM, Richard Wilbur
<richard.wilbur at gmail.com> 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.
More information about the arm-netbook
mailing list