Arduino sketch, initial version