added ability to read output from uv sensor and output reading once