Arduino sketch for writing potentiometer values to processing