From 697360b1033d106ea2b55d0aa3f0d73eeeffce3f Mon Sep 17 00:00:00 2001 From: Dual Tachyon Date: Tue, 22 Aug 2023 00:01:53 +0100 Subject: [PATCH] Added more bitmaps. --- bitmaps.c | 38 ++++++++++++++++++++++++++++++++++++++ bitmaps.h | 30 ++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/bitmaps.c b/bitmaps.c index ebc9cb7..c6a38d5 100644 --- a/bitmaps.c +++ b/bitmaps.c @@ -30,3 +30,41 @@ const uint8_t BITMAP_AntennaLevel4[3] = { 0x7C, 0x7C, 0x00 }; const uint8_t BITMAP_AntennaLevel5[3] = { 0x7E, 0x7E, 0x00 }; const uint8_t BITMAP_AntennaLevel6[3] = { 0x7F, 0x7F, 0x00 }; +const uint8_t BITMAP_CurrentIndicator[8] = { 0xFF, 0xFF, 0x7E, 0x7E, 0x3C, 0x3C, 0x18, 0x18 }; + +const uint8_t BITMAP_VFO_Default[8] = { 0x00, 0x7F, 0x7F, 0x3E, 0x3E, 0x1C, 0x1C, 0x08 }; +const uint8_t BITMAP_VFO_NotDefault[8] = { 0x00, 0x41, 0x41, 0x22, 0x22, 0x14, 0x14, 0x08 }; + +const uint8_t BITMAP_TX[16] = { 0x00, 0x01, 0x01, 0x01, 0x7F, 0x01, 0x01, 0x01, 0x00, 0x63, 0x22, 0x14, 0x08, 0x14, 0x22, 0x63 }; +const uint8_t BITMAP_RX[16] = { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x19, 0x29, 0x46, 0x00, 0x63, 0x22, 0x14, 0x08, 0x14, 0x22, 0x63 }; + +const uint8_t BITMAP_M[8] = { 0x00, 0x7F, 0x02, 0x04, 0x18, 0x04, 0x02, 0x7F }; +const uint8_t BITMAP_F[8] = { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x09, 0x09, 0x01 }; + +const uint8_t BITMAP_ReverseMode[8] = { 0x00, 0x7F, 0x09, 0x09, 0x09, 0x19, 0x29, 0x46 }; + +const uint8_t BITMAP_NarrowBand[8] = { 0x00, 0x7F, 0x02, 0x04, 0x08, 0x10, 0x20, 0x7F }; + +const uint8_t BITMAP_DTMF[24] = { + 0x00, 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00, 0x01, + 0x01, 0x7F, 0x01, 0x01, 0x00, 0x7F, 0x02, 0x0C, + 0x02, 0x7F, 0x00, 0x7F, 0x09, 0x09, 0x09, 0x01, +}; + +const uint8_t BITMAP_Scramble[18] = { + 0x00, 0x26, 0x49, 0x49, 0x49, 0x32, 0x00, 0x3E, + 0x41, 0x41, 0x41, 0x22, 0x00, 0x7F, 0x09, 0x19, + 0x29, 0x46, +}; + +const uint8_t BITMAP_Add[8] = { 0x00, 0x18, 0x18, 0x7E, 0x7E, 0x7E, 0x18, 0x18 }; +const uint8_t BITMAP_Sub[8] = { 0x00, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C }; + +const uint8_t BITMAP_PowerHigh[8] = { 0x00, 0x7F, 0x08, 0x08, 0x08, 0x08, 0x08, 0x7F }; +const uint8_t BITMAP_PowerMid[8] = { 0x00, 0x7F, 0x02, 0x04, 0x18, 0x04, 0x02, 0x7F }; +const uint8_t BITMAP_PowerLow[8] = { 0x00, 0x7F, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40 }; + +const uint8_t BITMAP_AM[12] = { 0x00, 0x7C, 0x12, 0x11, 0x12, 0x7C, 0x00, 0x7F, 0x02, 0x0C, 0x02, 0x7F }; + +const uint8_t BITMAP_CT[12] = { 0x00, 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00, 0x01, 0x01, 0x7F, 0x01, 0x01 }; +const uint8_t BITMAP_DCS[18] = { 0x00, 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00, 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00, 0x26, 0x49, 0x49, 0x49, 0x32 }; diff --git a/bitmaps.h b/bitmaps.h index da0ec96..f68bea5 100644 --- a/bitmaps.h +++ b/bitmaps.h @@ -33,5 +33,35 @@ extern const uint8_t BITMAP_AntennaLevel4[3]; extern const uint8_t BITMAP_AntennaLevel5[3]; extern const uint8_t BITMAP_AntennaLevel6[3]; +extern const uint8_t BITMAP_CurrentIndicator[8]; + +extern const uint8_t BITMAP_VFO_Default[8]; +extern const uint8_t BITMAP_VFO_NotDefault[8]; + +extern const uint8_t BITMAP_TX[16]; +extern const uint8_t BITMAP_RX[16]; + +extern const uint8_t BITMAP_M[8]; +extern const uint8_t BITMAP_F[8]; + +extern const uint8_t BITMAP_ReverseMode[8]; + +extern const uint8_t BITMAP_NarrowBand[8]; + +extern const uint8_t BITMAP_DTMF[24]; +extern const uint8_t BITMAP_Scramble[18]; + +extern const uint8_t BITMAP_Add[8]; +extern const uint8_t BITMAP_Sub[8]; + +extern const uint8_t BITMAP_PowerHigh[8]; +extern const uint8_t BITMAP_PowerMid[8]; +extern const uint8_t BITMAP_PowerLow[8]; + +extern const uint8_t BITMAP_AM[12]; + +extern const uint8_t BITMAP_CT[12]; +extern const uint8_t BITMAP_DCS[18]; + #endif