Updated to work with latest Arduino. Added example from original git repo + changed a few bits