Merge pull request #434 from cyberman54/development
ttgobeam10.h updated
This commit is contained in:
commit
b317cd0083
@ -14,15 +14,16 @@
|
|||||||
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
|
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
|
||||||
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
|
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
|
||||||
#define BOARD_HAS_PSRAM // use extra 4MB external RAM
|
#define BOARD_HAS_PSRAM // use extra 4MB external RAM
|
||||||
#define HAS_BUTTON GPIO_NUM_36 // on board button (next to reset)
|
#define HAS_BUTTON GPIO_NUM_38 // middle on board button
|
||||||
#define HAS_PMU 1 // AXP192 power management chip
|
#define HAS_PMU 1 // AXP192 power management chip
|
||||||
#define PMU_INT GPIO_NUM_36 // AXP192 interrupt
|
#define PMU_INT GPIO_NUM_35 // AXP192 interrupt
|
||||||
|
|
||||||
#define HAS_LED NOT_A_PIN
|
#define HAS_LED NOT_A_PIN
|
||||||
|
|
||||||
// GPS settings
|
// GPS settings
|
||||||
#define HAS_GPS 1 // use on board GPS
|
#define HAS_GPS 1 // use on board GPS
|
||||||
#define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_34, GPIO_NUM_12 // UBlox NEO 6M
|
#define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_34, GPIO_NUM_12 // UBlox NEO 6M
|
||||||
|
#define GPS_INT GPIO_NUM_37 // 30ns accurary timepulse generated by NEO 6M Pin #3
|
||||||
|
|
||||||
// enable only if device has these sensors, otherwise comment these lines
|
// enable only if device has these sensors, otherwise comment these lines
|
||||||
// BME680 sensor on I2C bus
|
// BME680 sensor on I2C bus
|
||||||
@ -31,10 +32,10 @@
|
|||||||
//#define BME680_ADDR BME680_I2C_ADDR_PRIMARY // !! connect SDIO of BME680 to GND !!
|
//#define BME680_ADDR BME680_I2C_ADDR_PRIMARY // !! connect SDIO of BME680 to GND !!
|
||||||
|
|
||||||
// display (if connected)
|
// display (if connected)
|
||||||
#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C
|
//#define HAS_DISPLAY U8X8_SSD1306_128X64_NONAME_HW_I2C
|
||||||
#define MY_OLED_SDA SDA
|
//#define MY_OLED_SDA SDA
|
||||||
#define MY_OLED_SCL SCL
|
//#define MY_OLED_SCL SCL
|
||||||
#define MY_OLED_RST U8X8_PIN_NONE
|
//#define MY_OLED_RST U8X8_PIN_NONE
|
||||||
//#define DISPLAY_FLIP 1 // use if display is rotated
|
//#define DISPLAY_FLIP 1 // use if display is rotated
|
||||||
|
|
||||||
// user defined sensors (if connected)
|
// user defined sensors (if connected)
|
||||||
|
Loading…
Reference in New Issue
Block a user