You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Have you also connected Ground on the sensor to ground on Puck.js? If you haven't, doing so would help a lot.

    Also, it depends on your sensor, but you might need a pull-down resistor. You can turn Espruino's built-in ones on just by adding pinMode(D1,"input_pulldown")

About

Avatar for Gordon @Gordon started