Fixed bug in configureSensor
Merge pull request #4 from glatorre/master

Fixed bug in configureSensor