HI,
I know how to access and configure GPIO ports from the kernel, but now need
to control an output pin from a `user' program.
I have done this before on the pxa-255-arm, and know it involves
accessing the physical memory space using /dev/mem
to hit the registers and register config directly.
WHAT I would really like is an API that does this all for me !
All I want to do is control one logical output pin, but
it is too slow to do this through the filesystem (I am controlling
the data direction on RS-485, with a modbus timeout constraint).
Is there an API on pico mod for control of I/O pins directly from `C'.
Robin