Files
Winden-Telemetry/lib/windentelemetry.h
T
FCS 16e2851696
build_release.yaml / Build heltec_wifi_lora_32_V3_sailplane (push) Successful in 4m31s
build_release.yaml / Build heltec_wifi_lora_32_V3_skp (push) Successful in 2m53s
build_release.yaml / Build heltec_wifi_lora_32_V3_winde (push) Successful in 3m19s
build_release.yaml / Release (push) Successful in 11s
neues Module SKP, Übertragung der Signalleuchte zustand von Winde an SKP
2026-08-30 12:40:52 +02:00

62 lines
1.4 KiB
C

#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