Proximity Sensor Pullrequest

This fixes issue #147