Updated examples to work with new Arduino classes