set up to autonomously sample with one sensor

Fork of SI1142 by Dave Cohen