Freeze with VCNL 4000 Proximity Sensor I've the VCNL 4000 Proximity Sensor I use some sample code and at the very beginning
the following code hangs (never finishes)
 readVCNLByte(0x81); is called

Can this problem be caused because the contact of the pin isn't very good.
I only but the part with pins in the sensor without to solder it.
Is it likely that this may be the problem ? I have not many experince with solder and the sensor is really small so i'd like to avoid it for first tests ;)
Here the code. The last output in the Serial window is &quot;pre product&quot;
  Serial.println(&quot;VCNL&quot;);
  Wire.begin();
  Serial.println(&quot;pre product&quot;);
  uint8_t rev = read8(VCNL4000_PRODUCTID);
   Serial.println(&quot;post product&quot;);
  if ((rev &amp; 0xF0) != 0x10) {
    Serial.println(&quot;Sensor not found :(&quot;);
    while (1);
  }
You really can't expect this to work unsoldered. The contacts will be at best intermittent, and poor contact. Even a 'dry joint' where the pin is mostly surrounded by solder doesn't work well, these are the ultimate examples! You could however use an edge-connector, if you can find one; not something you see often nowadays.