first of commit fo working code. reads from pot and lsm303