Files
@ f2c57ce0cd7b
Branch filter:
Location: windsonde/Include/config.h - annotation
f2c57ce0cd7b
2.1 KiB
text/plain
Refactor old pressure code and make optional. Fix high power output due to multiple Si446x power definitions
0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be e8e5873934fa e8e5873934fa 0f04af7169be f2c57ce0cd7b 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be f2c57ce0cd7b f2c57ce0cd7b 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 2ee6c8e67f32 2ee6c8e67f32 | //
// Depth Select Configuration
//
#ifndef CONFIG_H
#define CONFIG_H
// --------------------------------------------------------------------------
// Transmitter config (si446x.c)
// --------------------------------------------------------------------------
// Transmit power (0-0x7F, 0mW - 40mw?)
#define SI446x_POWER 0x02
#define TUNE_FREQUENCY 433500000UL
// Internal macros
#define hal_init HAL_Init
// Uncomment if using legacy LPS25h pressure sensor
//#define LPS25H
// --------------------------------------------------------------------------
// ADC config (adc.c)
// --------------------------------------------------------------------------
// Temperature sensor offset (die temperature from ambient, esimate, in Celcius)
#define ADC_TEMPERATURE_OFFSET -10
// --------------------------------------------------------------------------
// AX.25 config (ax25.c)
// --------------------------------------------------------------------------
// TX delay in milliseconds
#define TX_DELAY 70
// Maximum packet delay
#define MAX_PACKET_LEN 512 // bytes
// --------------------------------------------------------------------------
// APRS config (aprs.c)
// --------------------------------------------------------------------------
// Set your callsign and SSID here. Common values for the SSID are
// (from http://zlhams.wikidot.com/aprs-ssidguide):
//
// - Balloons: 11
// - Cars: 9
// - Home: 0
// - IGate: 5
#define S_CALLSIGN "S"
#define S_CALLSIGN_ID 1
// Destination callsign: APRS (with SSID=0) is usually okay.
#define D_CALLSIGN ""
#define D_CALLSIGN_ID 0
// Digipeating paths:
// (read more about digipeating paths here: http://wa8lmf.net/DigiPaths/ )
// The recommended digi path for a balloon is WIDE2-1 or pathless. The default
// is pathless. Uncomment the following two lines for WIDE2-1 path:
//#define DIGI_PATH1 "WIDE2"
//#define DIGI_PATH1_TTL 1
// Transmit the APRS sentence every X milliseconds
#define APRS_TRANSMIT_PERIOD 1000
#endif
// vim:softtabstop=4 shiftwidth=4 expandtab
|