modified code to work with v4.6 sensors
Merge branch 'master' of https://github.com/TimothyAhong/stest