removed debug info. the issue was i was giving the sensor 3.3v instead of 5v