[C.CC USERS] More on servos
Adam Sampson
ats at offog.org
Mon May 3 10:03:54 BST 2010
Dennis Meade <stone.misc at gmail.com> writes:
> Is the SWIG code or binary available in the KRoC distribution.
The latest occam-pi version of SWIG is available here:
http://projects.cs.kent.ac.uk/projects/swigoccam/
But you don't want to use it on the Arduino---the occam FFI is too
simplistic to work well on Harvard-architecture processors like the AVR
where you need to distinguish between program memory and data memory,
and SWIG doesn't understand about the different types of pointers on the
AVR. You're better off just writing the FFI function yourself.
Thanks,
--
Adam Sampson <ats at offog.org> <http://offog.org/>
More information about the users
mailing list