Files
@ 34a13647cf13
Branch filter:
Location: windsonde/Include/config.h - annotation
34a13647cf13
2.0 KiB
text/plain
Pressure reading now works! Needs pullups added...
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 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be | //
// Depth Select Configuration
//
#ifndef CONFIG_H
#define CONFIG_H
// --------------------------------------------------------------------------
// Transmitter config (si446x.c)
// --------------------------------------------------------------------------
#define TUNE_FREQUENCY 433000000UL
// Internal macros
#define hal_init HAL_Init
// --------------------------------------------------------------------------
// 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)
// --------------------------------------------------------------------------
#define SI446x_POWER 0x7f
// 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
|