initial commit
This commit is contained in:
1 parent
67350647c1
commit
be7719aa15
5 files changed
+73
-17
No files matched your search
+1
-1
@@ -12,7 +12,7 @@
|
||||
#include <set>
|
||||
#include <array>
|
||||
#include <algorithm>
|
||||
#include <bsec.h>
|
||||
//#include <bsec.h>
|
||||
|
||||
#define _bit(b) (1U << (b))
|
||||
#define _bitl(b) (1UL << (b))
|
||||
|
||||
+9
-8
@@ -3,6 +3,15 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <BitBang_I2C.h>
|
||||
#include <Wire.h>
|
||||
|
||||
#ifndef MY_DISPLAY_SDA
|
||||
#define MY_DISPLAY_SDA SDA
|
||||
#endif
|
||||
|
||||
#ifndef MY_DISPLAY_SCL
|
||||
#define MY_DISPLAY_SCL SCL
|
||||
#endif
|
||||
|
||||
#define SSD1306_PRIMARY_ADDRESS (0x3D)
|
||||
#define SSD1306_SECONDARY_ADDRESS (0x3C)
|
||||
@@ -13,14 +22,6 @@
|
||||
#define MCP_24AA02E64_PRIMARY_ADDRESS (0x50)
|
||||
#define QUECTEL_GPS_PRIMARY_ADDRESS (0x10)
|
||||
|
||||
#ifndef MY_DISPLAY_SDA
|
||||
#define MY_DISPLAY_SDA SDA
|
||||
#endif
|
||||
|
||||
#ifndef MY_DISPLAY_SCL
|
||||
#define MY_DISPLAY_SCL SCL
|
||||
#endif
|
||||
|
||||
extern SemaphoreHandle_t I2Caccess;
|
||||
|
||||
void i2c_init(void);
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
#ifndef _LED_H
|
||||
#define _LED_H
|
||||
|
||||
#include <SmartLeds.h>
|
||||
#include "lorawan.h"
|
||||
//#include <SmartLeds.h>
|
||||
//#include "lorawan.h"
|
||||
|
||||
#ifndef RGB_LED_COUNT
|
||||
#define RGB_LED_COUNT 1
|
||||
|
||||
Reference in new issue
Block a user