From 26414652eebff42496f958e6d2e671fa3e70188c Mon Sep 17 00:00:00 2001 From: lightaprs <48382675+lightaprs@users.noreply.github.com> Date: Mon, 11 Oct 2021 14:50:21 +0300 Subject: [PATCH] minor bugfix 'SSD1306_WHITE' was not declared in this scope bug fixed. --- helium-mapper/helium-mapper.ino | 3 ++- lora-asset-tracker-rx/lora-asset-tracker-rx.ino | 1 + lora-asset-tracker-tx/lora-asset-tracker-tx.ino | 1 + lorawan-otaa-asset-tracker/lorawan-otaa-asset-tracker.ino | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/helium-mapper/helium-mapper.ino b/helium-mapper/helium-mapper.ino index 685dc76..4823d88 100644 --- a/helium-mapper/helium-mapper.ino +++ b/helium-mapper/helium-mapper.ino @@ -21,8 +21,9 @@ SFE_UBLOX_GPS myGPS; Adafruit_BMP085 bmp; //temp and pressure sensor LIS3DH myIMU; //accelerometer +#define SSD1306_WHITE 1 ///< Draw 'on' pixels -#define DEVMODE // Development mode. Uncomment to enable for debugging. +//#define DEVMODE // Development mode. Uncomment to enable for debugging. boolean airborne = false; //if you want to put the tracker on an airborne (balloon, drone, plane, etc.) device, set this variable true; uint8_t measurementSystem = 0; //0 for metric (meters, km, Celcius, etc.), 1 for imperial (feet, mile, Fahrenheit,etc.) diff --git a/lora-asset-tracker-rx/lora-asset-tracker-rx.ino b/lora-asset-tracker-rx/lora-asset-tracker-rx.ino index 86ebaaa..25aef03 100644 --- a/lora-asset-tracker-rx/lora-asset-tracker-rx.ino +++ b/lora-asset-tracker-rx/lora-asset-tracker-rx.ino @@ -24,6 +24,7 @@ SX1262 lora = new Module(8, 3, 9, 2); #define GpsOFF digitalWrite(GpsPwr, HIGH); SFE_UBLOX_GPS myGPS; Adafruit_BMP085 bmp; +#define SSD1306_WHITE 1 ///< Draw 'on' pixels //#define DEVMODE // Development mode. Uncomment to enable for debugging. diff --git a/lora-asset-tracker-tx/lora-asset-tracker-tx.ino b/lora-asset-tracker-tx/lora-asset-tracker-tx.ino index dd8f16f..f3d53fd 100644 --- a/lora-asset-tracker-tx/lora-asset-tracker-tx.ino +++ b/lora-asset-tracker-tx/lora-asset-tracker-tx.ino @@ -21,6 +21,7 @@ SX1262 lora = new Module(8, 3, 9, 2); SFE_UBLOX_GPS myGPS; Adafruit_BMP085 bmp; LIS3DH myIMU; //Default constructor is I2C, addr 0x19. +#define SSD1306_WHITE 1 ///< Draw 'on' pixels //#define DEVMODE // Development mode. Uncomment to enable for debugging. diff --git a/lorawan-otaa-asset-tracker/lorawan-otaa-asset-tracker.ino b/lorawan-otaa-asset-tracker/lorawan-otaa-asset-tracker.ino index f3dc38b..7d3d820 100644 --- a/lorawan-otaa-asset-tracker/lorawan-otaa-asset-tracker.ino +++ b/lorawan-otaa-asset-tracker/lorawan-otaa-asset-tracker.ino @@ -21,6 +21,7 @@ SFE_UBLOX_GPS myGPS; Adafruit_BMP085 bmp; //temp and pressure sensor LIS3DH myIMU; //accelerometer +#define SSD1306_WHITE 1 ///< Draw 'on' pixels //#define DEVMODE // Development mode. Uncomment to enable for debugging.