Code for Arduino bbq controller