mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
VEML6070: Adding separate i2c contexts for separate addresses
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
var veml6070 = require("jsupm_veml6070");
|
||||
|
||||
// Instantiate a Vishay UV sensor at bus 0
|
||||
var veml6070_sensor = new veml6070.VEML6070(0, 0x38);
|
||||
var veml6070_sensor = new veml6070.VEML6070(0);
|
||||
|
||||
var myInterval = setInterval(function()
|
||||
{
|
||||
|
Reference in New Issue
Block a user