created PollingSensor and a test sketch