Changed code to work with new Arduino code