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:
@ -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());
|
||||
|
Reference in New Issue
Block a user