Files
Winden-Telemetry/lib/windentelemetry.h
FCS ed83354dfb
All checks were successful
/ Build (push) Successful in 3m37s
/ Release (push) Successful in 8s
migration repo
2025-12-01 17:55:44 +01:00

49 lines
1.0 KiB
C

#ifndef WINDENTELEMETRY_CONFIG_H
#define WINDENTELEMETRY_CONFIG_H
#define LORA_FREQ 868.0
#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
#define default_min_tow_speed 80
#define default_max_tow_speed 150
#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
#endif
#endif