Added code for UV and changed mcp3008 code to c