Copy from http://arducodes.googlecode.com/svn/trunk/ arducodes-read-only