File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,13 @@ Distributed as-is; no warranty is given.
35
35
36
36
// ****************************************************************************//
37
37
//
38
- // LIS3DHCore functions
39
- //
40
- // For I2C, construct LIS3DHCore myIMU(<address>);
38
+ // CCS811Core functions
41
39
//
42
40
// Default <address> is 0x5B.
43
41
//
44
42
// ****************************************************************************//
45
- CCS811Core::CCS811Core ( uint8_t inputArg ) : I2CAddress(0x5B )
43
+ CCS811Core::CCS811Core ( uint8_t inputArg ) : I2CAddress(inputArg )
46
44
{
47
- I2CAddress = inputArg;
48
-
49
45
}
50
46
51
47
CCS811Core::status CCS811Core::beginCore (void )
@@ -535,4 +531,4 @@ float CCS811::getResistance( void )
535
531
float CCS811::getTemperature ( void )
536
532
{
537
533
return temperature;
538
- }
534
+ }
You can’t perform that action at this time.
0 commit comments