Library for this neat headphone jack data I/O device http://www.lpcware.com/content/project/smartphone-quick-jack-solution Steve