mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 01:15:38 -04:00
Started work on ADS-B TX baseband processor
This commit is contained in:
parent
596071e8f8
commit
ef0feae62b
15 changed files with 413 additions and 82 deletions
|
@ -55,12 +55,13 @@ private:
|
|||
char callsign[9] = "KLM1023 ";
|
||||
|
||||
uint8_t adsb_frame[14]; // 112 bit data block as 14 bytes
|
||||
uint8_t adsb_bin[112]; // 112 bit data block
|
||||
|
||||
const char icao_id_lut[65] = "#ABCDEFGHIJKLMNOPQRSTUVWXYZ##### ###############0123456789######";
|
||||
|
||||
void ascii_to_ccir(char *ascii);
|
||||
void start_tx();
|
||||
void generate_frame();
|
||||
void generate_frame_id();
|
||||
void generate_frame_pos();
|
||||
void on_txdone(const int n);
|
||||
|
||||
const Style style_val {
|
||||
|
@ -111,6 +112,15 @@ private:
|
|||
"" // "KOR151 "
|
||||
};
|
||||
|
||||
Text text_frame_a {
|
||||
{ 4 * 8, 10 * 16, 14 * 8, 16 },
|
||||
"-"
|
||||
};
|
||||
Text text_frame_b {
|
||||
{ 4 * 8, 11 * 16, 14 * 8, 16 },
|
||||
"-"
|
||||
};
|
||||
|
||||
ProgressBar progress {
|
||||
{ 5 * 8, 13 * 16, 20 * 8, 16 },
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue