1 Reply Latest reply on Feb 24, 2016 12:26 PM by xbolshe

    i2c error - Illegal arguments


      I tryed to read temperature data from an i2c device and only get errors.

      Does anyone know what that is


      Upload Complete 
      MRAA Version: v0.9.4
      ERROR: /home/root/.node_app_slot/server.js:23
      ERROR: var temp = new mcp.MCP9808(0);
      ERROR:            ^ 
      ERROR: Error: Illegal arguments for construction of _exports_MCP9808
          at Object.<anonymous> (/home/root/.node_app_slot/server.js:23:12)
          at Module._compile (module.js:456:26)
          at Object.Module._extensions..js (module.js:474:10)
          at Module.load (module.js:356:32)
          at Function.Module._load (module.js:312:12)
          at Function.Module.runMain (module.js:497:10)
          at startup (node.js:119:16)
          at node.js:935:3