Made to compile with more recent Arduino versions
Merge pull request #3 from eras/master

Made to compile with more recent Arduino versions