Added PWM RSSI output for NBFM and WFM

This commit is contained in:
furrtek 2016-07-28 05:25:33 +02:00
parent 1beac3bdbd
commit 1d697d2201
22 changed files with 274 additions and 118 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (C) 2015 Jared Boone, ShareBrained Technology, Inc.
* Copyright (C) 2016 Furrtek
*
* This file is part of PortaPack.
*
@ -26,6 +27,48 @@
namespace ui {
/*
00000000 00000000 00000000
11110001 11100111 10111110
10001010 00001000 00001000
10001010 00001000 00001000
11110001 11000111 00001000
10010000 00100000 10001000
10001000 00100000 10001000
10001011 11001111 00111110
00000000 00000000 00000000
11111100 01111000 01111000
10000100 01001000 01001000
10000100 01001000 01001000
10000100 01001000 01001000
10000100 01001000 01001000
10000100 01001000 01001000
10000111 11001111 11001110
*/
static constexpr uint8_t bitmap_rssipwm_data[] = {
0x00, 0x00, 0x00,
0x8F, 0xE7, 0x7D,
0x51, 0x10, 0x10,
0x51, 0x10, 0x10,
0x8F, 0xE3, 0x10,
0x09, 0x04, 0x11,
0x11, 0x04, 0x11,
0xD1, 0xF3, 0x7C,
0x00, 0x00, 0x00,
0x3F, 0x1E, 0x1E,
0x21, 0x12, 0x12,
0x21, 0x12, 0x12,
0x21, 0x12, 0x12,
0x21, 0x12, 0x12,
0x21, 0x12, 0x12,
0xE1, 0xF3, 0x73
};
static constexpr Bitmap bitmap_rssipwm {
{ 24, 16 }, bitmap_rssipwm_data
};
static constexpr uint8_t bitmap_keyboard_data[] = {
0x00, 0x00,
0x00, 0x00,