Updated examples to work with more modern versions of Arduino. Added documentation to examples.