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. (/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
Link Copied
Hi,
this is a default exception in UPM module called mcp9808.
Probably this is a UPM module bug.
Please post this issue with NodeJS version and environment description on
https://github.com/intel-iot-devkit/upm/issues Issues · intel-iot-devkit/upm · GitHub
BR,
xbolshe
Hi,
this is a default exception in UPM module called mcp9808.
Probably this is a UPM module bug.
Please post this issue with NodeJS version and environment description on
https://github.com/intel-iot-devkit/upm/issues Issues · intel-iot-devkit/upm · GitHub
BR,
xbolshe
For more complete information about compiler optimizations, see our Optimization Notice.