Code I am using with various Arduino boards