Added Arduino functions 1 and 2