#ifndef WINDENTELEMETRY_CONFIG_H #define WINDENTELEMETRY_CONFIG_H #define LORA_FREQ 868.0 #define TELEMETRY_CALLSIGN "D1234" #define TELEMETRY_SEND_INTERVAL_MS 1000UL #define TELEMETRY_ACTIVE_TIME_MS 90000UL #define TELEMETRY_LOW_SPEED_KMH 30 #define default_min_tow_speed 80 #define default_max_tow_speed 150 #ifdef HELTEC_WIFI_LORA_32_V3 // SX1262 on HELTEC_WIFI_LORA_32_V3 has the following connections: // NSS pin: 8 // DIO1 pin: 14 // NRST pin: 12 // BUSY pin: 13 #define LORA_NSS 8 #define LORA_DIO1 14 #define LORA_NRST 12 #define LORA_BUSY 13 // OLED SSD1306 on HELTEC_WIFI_LORA_32_V3 has the following connections: #define OLED_RST 21 #define OLED_CLK 18 #define OLED_DATA 17 #endif #ifdef DEVICE_SAILPLANE /*********************************devices*********************************************/ /**difference pressure**/ #define dp_scl 20 #define dp_sda 19 #endif #ifdef DEVICE_WINDE /*********************************devices*********************************************/ /**Servo**/ #define servoPin 7 /**WS8212 **/ // Which pin on is connected to the WS8212? #define NEOPIN 6 // How many NeoPixels are attached #define NUMPIXELS 12 #define pixeloffset 6 #define WARN_LIGHT_SENSE_PIN 5 #define WARN_LIGHT_DETECT_THRESHOLD 1000 #define WARN_LIGHT_TX_INTERVAL_MS 5000UL #endif #ifdef DEVICE_SKP #define RELAY_PIN 7 #define RELAY_PULSE_MS 500UL #define WARNING_TIMEOUT_MS 5000UL #endif #endif