Arduino and R interface

Sorry. The R Statistical Programming Language. It is an open source, interpreted language, but with many low level functions that are reasonably fast. There are a large number of user-contributed packages, but I haven't seen anything that deals with this much.