Initial version of Arduino sketch