kopia lustrzana https://github.com/Qyon/STM32_RTTY
fixed description of APRS SSID, more english variable names
rodzic
e60b70a6b1
commit
2fa95b39f9
12
config.h
12
config.h
|
@ -23,12 +23,12 @@
|
|||
// 7 --> walkie talkies, HT's or other human portable
|
||||
// 8 --> boats, sailboats, RV's or second main mobile
|
||||
// 9 --> Primary Mobile (usually message capable)
|
||||
// 10 --> internet, Igates, echolink, winlink, AVRS, APRN, etc.
|
||||
// 11 --> balloons, aircraft, spacecraft, etc.
|
||||
// 12 --> APRStt, DTMF, RFID, devices, one-way trackers*, etc.
|
||||
// 13 --> Weather stations
|
||||
// 14 --> Truckers or generally full time drivers
|
||||
// 15 --> generic additional station, digi, mobile, wx, etc.
|
||||
// A --> internet, Igates, echolink, winlink, AVRS, APRN, etc.
|
||||
// B --> balloons, aircraft, spacecraft, etc.
|
||||
// C --> APRStt, DTMF, RFID, devices, one-way trackers*, etc.
|
||||
// D --> Weather stations
|
||||
// E --> Truckers or generally full time drivers
|
||||
// F --> generic additional station, digi, mobile, wx, etc.
|
||||
|
||||
#define APRS_COMMENT " Hello from the sky!"
|
||||
#define RTTY_TO_APRS_RATIO 5 //transmit APRS packet with each x RTTY packet
|
||||
|
|
4
main.c
4
main.c
|
@ -200,7 +200,7 @@ int main(void) {
|
|||
|
||||
void send_rtty_packet() {
|
||||
start_bits = RTTY_PRE_START_BITS;
|
||||
int8_t temperatura = radio_read_temperature();
|
||||
int8_t si4032_temperature = radio_read_temperature();
|
||||
|
||||
// voltage = srednia(ADCVal[0] * 600 / 4096);
|
||||
voltage = ADCVal[0] * 600 / 4096;
|
||||
|
@ -220,7 +220,7 @@ void send_rtty_packet() {
|
|||
gpsData.hours, gpsData.minutes, gpsData.seconds,
|
||||
gpsData.lat_raw < 0 ? "-" : "", lat_d, lat_fl,
|
||||
gpsData.lon_raw < 0 ? "-" : "", lon_d, lon_fl,
|
||||
(gpsData.alt_raw / 1000), temperatura, voltage, gpsData.sats_raw,
|
||||
(gpsData.alt_raw / 1000), si4032_temperature, voltage, gpsData.sats_raw,
|
||||
gpsData.ok_packets, gpsData.bad_packets,
|
||||
flaga);
|
||||
CRC_rtty = 0xffff; //possibly not neccessary??
|
||||
|
|
Ładowanie…
Reference in New Issue