Updated (maybe)

This should be the latest version that works on Arduino v1.0. I'm not
positive because I can't test it anymore, but this should be it :)