update generic.h

This commit is contained in:
Klaus K Wilting 2019-01-19 19:10:10 +01:00
parent abfc368c09
commit ac28348acf

View File

@ -6,6 +6,7 @@
#include <stdint.h>
// Hardware related definitions for generic ESP32 boards
// generic.h is kitchensink with all available options
#define HAS_LORA 1 // comment out if device shall not send data via LoRa or has no LoRa
#define HAS_SPI 1 // comment out if device shall not send data via SPI
@ -47,6 +48,9 @@
#define MY_OLED_SCL (15)
#define MY_OLED_RST (16)
// Pins for on board DS3231 RTC chip
#define HAS_RTC MY_OLED_SDA, MY_OLED_SCL // SDA, SCL
// Pins for LORA chip SPI interface, reset line and interrupt lines
#define LORA_SCK (5)
#define LORA_CS (18)