File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed
Example_07_Demo_Alphanumeric Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 27
27
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
28
28
#include < Wire.h>
29
29
30
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
30
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
31
31
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
32
32
33
33
// Some Dev boards have their QWIIC connector on Wire or Wire1
Original file line number Diff line number Diff line change 27
27
#include < Wire.h>
28
28
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
29
29
30
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
30
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
31
31
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
32
32
33
33
// Some Dev boards have their QWIIC connector on Wire or Wire1
Original file line number Diff line number Diff line change 31
31
#include < Wire.h>
32
32
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
33
33
34
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
34
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
35
35
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
36
36
#define IRQ_Pin 14
37
37
Original file line number Diff line number Diff line change 38
38
#include < Wire.h>
39
39
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
40
40
41
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
41
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
42
42
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
43
43
44
44
// Some Dev boards have their QWIIC connector on Wire or Wire1
Original file line number Diff line number Diff line change 33
33
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
34
34
#include < Wire.h>
35
35
36
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
36
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
37
37
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
38
38
39
- SparkFunBMV080I2C bmv080_2; // Create an instance of the BMV080 class
39
+ SparkFunBMV080 bmv080_2; // Create an instance of the BMV080 class
40
40
#define BMV080_ADDR2 0x56 // AB0 Jumper set to 0
41
41
42
42
bool newDataAvailable = false ; // Flag to indicate new data is available
Original file line number Diff line number Diff line change 30
30
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
31
31
#include < Wire.h>
32
32
33
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
33
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
34
34
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
35
35
36
36
#include < SparkFun_Alphanumeric_Display.h> // Click here to get the library: http://librarymanager/All#SparkFun_Qwiic_Alphanumeric_Display by SparkFun
Original file line number Diff line number Diff line change 34
34
#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
35
35
#include < Wire.h>
36
36
37
- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
37
+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
38
38
#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
39
39
40
40
float pm1Value = 0.0 ; // PM1 value - global so we can update it in the loop and
Original file line number Diff line number Diff line change 4
4
# Class
5
5
#########################################################
6
6
7
- SparkFunBMV080I2C KEYWORD1
7
+ SparkFunBMV080 KEYWORD1
8
8
SparkFunBMV080SPI KEYWORD1
9
9
10
10
#########################################################
Original file line number Diff line number Diff line change 2
2
* @file SparkFun_BMV080_Arduino_Library.h
3
3
* @brief SparkFun BMV080 Library header file
4
4
*
5
- * This file implements the SparkFunBMV080I2C and SparkFunBMV080SPI classes,
5
+ * This file implements the SparkFunBMV080 and SparkFunBMV080SPI classes,
6
6
* for use with the SparkFun BMV080 sensor qwiic breakout board, HW version v01.
7
7
*
8
8
* @author Pete Lewis
@@ -37,7 +37,7 @@ SET_LOOP_TASK_STACK_SIZE(60 * 1024); // 60KB
37
37
*
38
38
* @see sfDevBMV080
39
39
*/
40
- class SparkFunBMV080I2C : public sfDevBMV080
40
+ class SparkFunBMV080 : public sfDevBMV080
41
41
{
42
42
public:
43
43
/* *
You can’t perform that action at this time.
0 commit comments