how to declare a function in arduino tutorial