VEML6070: Adding separate i2c contexts for separate addresses

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Abhishek Malik
2017-05-18 13:55:21 -07:00
parent c70f378f72
commit b4bc15201b
9 changed files with 56 additions and 148 deletions

View File

@ -31,7 +31,7 @@ public class VEML6070Sample {
//! [Interesting]
// Instantiate a VEML6070 UV sensor
VEML6070 veml = new VEML6070(0, 0x38);
VEML6070 veml = new VEML6070(0);
while(true){
System.out.println("UV Value: "+veml.getUVIntensity());