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 2727#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
2828#include < Wire.h>
2929
30- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
30+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
3131#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
3232
3333// Some Dev boards have their QWIIC connector on Wire or Wire1
Original file line number Diff line number Diff line change 2727#include < Wire.h>
2828#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
2929
30- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
30+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
3131#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
3232
3333// Some Dev boards have their QWIIC connector on Wire or Wire1
Original file line number Diff line number Diff line change 3131#include < Wire.h>
3232#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
3333
34- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
34+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
3535#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
3636#define IRQ_Pin 14
3737
Original file line number Diff line number Diff line change 3838#include < Wire.h>
3939#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
4040
41- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
41+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
4242#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
4343
4444// Some Dev boards have their QWIIC connector on Wire or Wire1
Original file line number Diff line number Diff line change 3333#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
3434#include < Wire.h>
3535
36- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
36+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
3737#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
3838
39- SparkFunBMV080I2C bmv080_2; // Create an instance of the BMV080 class
39+ SparkFunBMV080 bmv080_2; // Create an instance of the BMV080 class
4040#define BMV080_ADDR2 0x56 // AB0 Jumper set to 0
4141
4242bool newDataAvailable = false ; // Flag to indicate new data is available
Original file line number Diff line number Diff line change 3030#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
3131#include < Wire.h>
3232
33- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
33+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
3434#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
3535
3636#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 3434#include " SparkFun_BMV080_Arduino_Library.h" // CTRL+Click here to get the library: http://librarymanager/All#SparkFun_BMV080
3535#include < Wire.h>
3636
37- SparkFunBMV080I2C bmv080; // Create an instance of the BMV080 class
37+ SparkFunBMV080 bmv080; // Create an instance of the BMV080 class
3838#define BMV080_ADDR 0x57 // SparkFun BMV080 Breakout defaults to 0x57
3939
4040float 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 44# Class
55#########################################################
66
7- SparkFunBMV080I2C KEYWORD1
7+ SparkFunBMV080 KEYWORD1
88SparkFunBMV080SPI KEYWORD1
99
1010#########################################################
Original file line number Diff line number Diff line change 22 * @file SparkFun_BMV080_Arduino_Library.h
33 * @brief SparkFun BMV080 Library header file
44 *
5- * This file implements the SparkFunBMV080I2C and SparkFunBMV080SPI classes,
5+ * This file implements the SparkFunBMV080 and SparkFunBMV080SPI classes,
66 * for use with the SparkFun BMV080 sensor qwiic breakout board, HW version v01.
77 *
88 * @author Pete Lewis
@@ -37,7 +37,7 @@ SET_LOOP_TASK_STACK_SIZE(60 * 1024); // 60KB
3737 *
3838 * @see sfDevBMV080
3939 */
40- class SparkFunBMV080I2C : public sfDevBMV080
40+ class SparkFunBMV080 : public sfDevBMV080
4141{
4242 public:
4343 /* *
You can’t perform that action at this time.
0 commit comments