From: Dave Hylands <dhylands@gm...> - 2007-07-19 21:40:34
> Is it possible to use i2c with perl on the gumstix?
Conceptually, I see no reason why this shouldn't work.
I haven't tried this, but if you can manipulate memory properly, you
might be able to make the ioctl calls directly.
Otherwise, you could create a C-callable module and use the i2c apis
which already exist. I've done this with SWIG on regular linux
platforms (not calling i2c, but calling other functions). I seem to
recall that SWIG might add a fair amount of overhead though.
Finally, you could use system calls and call the existing i2c-io or
Vancouver, BC, Canada