adding more symbols
This commit is contained in:
parent
d817a0910c
commit
4337afb0a1
|
|
@ -30,7 +30,7 @@ TinyGPSPlus gps;
|
|||
NimBLECharacteristic* pCharacteristic;
|
||||
OneButton userButton = OneButton(BUTTON_PIN, true, true);
|
||||
|
||||
String versionDate = "2023.07.31";
|
||||
String versionDate = "2023.08.01";
|
||||
|
||||
int myBeaconsIndex = 0;
|
||||
int myBeaconsSize = Config.beacons.size();
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@ static const unsigned char runnerSymbol[] PROGMEM = {
|
|||
0b00011100, 0b00000110
|
||||
};
|
||||
|
||||
static const unsigned char carSymbol[] PROGMEM = {
|
||||
static const unsigned char carSymbol[] PROGMEM = {
|
||||
0b00000000, 0b00000000,
|
||||
0b01000000, 0b00000000,
|
||||
0b00111111, 0b11000000,
|
||||
0b00100100, 0b00100000,
|
||||
|
|
@ -29,28 +30,27 @@ static const unsigned char carSymbol[] PROGMEM = {
|
|||
0b01000100, 0b00001000,
|
||||
0b11111111, 0b11111111,
|
||||
0b10111111, 0b11111101,
|
||||
0b11111111, 0b11111101,
|
||||
0b11111111, 0b11111111,
|
||||
0b11001111, 0b11110011,
|
||||
0b01001000, 0b00010010,
|
||||
0b00110000, 0b00001100,
|
||||
0b00000000, 0b00000000,
|
||||
0b00000000, 0b00000000
|
||||
};
|
||||
|
||||
static const unsigned char jeepSymbol[] PROGMEM = {
|
||||
0b00000000, 0b00000000,
|
||||
0b10000000, 0b00000000,
|
||||
0b11111111, 0b10000000,
|
||||
0b10000100, 0b10000000,
|
||||
0b10000100, 0b01000000,
|
||||
0b11111111, 0b11000000,
|
||||
0b10000100, 0b01000000,
|
||||
0b10000100, 0b00100000,
|
||||
0b10000100, 0b00100000,
|
||||
0b10000100, 0b00010000,
|
||||
0b11111111, 0b11111111,
|
||||
0b11111111, 0b11111101,
|
||||
0b11111111, 0b11111101,
|
||||
0b11111111, 0b11111111,
|
||||
0b11001111, 0b11110011,
|
||||
0b01001000, 0b00010010,
|
||||
0b00110000, 0b00001100,
|
||||
0b00000000, 0b00000000,
|
||||
0b00000000, 0b00000000
|
||||
};
|
||||
|
||||
|
|
@ -122,21 +122,38 @@ static const unsigned char truckSymbol[] PROGMEM = {
|
|||
0b01101100, 0b11000110
|
||||
};
|
||||
|
||||
static const unsigned char recreationalVehicleSymbol[] PROGMEM = {
|
||||
0b00000000, 0b00000000,
|
||||
static const unsigned char recreationalVehicleSymbol[] PROGMEM = {
|
||||
0b00000111, 0b11111000,
|
||||
0b01111110, 0b01001100,
|
||||
0b11111110, 0b01001110,
|
||||
0b11111111, 0b11111110,
|
||||
0b01000100, 0b01001000,
|
||||
0b01111111, 0b11111100,
|
||||
0b11111111, 0b11111000,
|
||||
0b10000100, 0b00100100,
|
||||
0b10000100, 0b00100010,
|
||||
0b11111100, 0b00100001,
|
||||
0b11111011, 0b11011111,
|
||||
0b10111011, 0b11011101,
|
||||
0b11111000, 0b00011101,
|
||||
0b11001111, 0b11110011,
|
||||
0b01001000, 0b00010010,
|
||||
0b00110000, 0b00001100
|
||||
};
|
||||
|
||||
static const unsigned char vanSymbol[] PROGMEM = {
|
||||
0b00000000, 0b00000000,
|
||||
0b00000000, 0b00000000,
|
||||
0b01111111, 0b11110000,
|
||||
0b11111111, 0b11111000,
|
||||
0b10000100, 0b00100100,
|
||||
0b10000100, 0b00100010,
|
||||
0b10000100, 0b00100001,
|
||||
0b11111111, 0b11111111,
|
||||
0b11000000, 0b00000101,
|
||||
0b10111111, 0b11111101,
|
||||
0b11111111, 0b11100111,
|
||||
0b10100000, 0b00000101,
|
||||
0b11111111, 0b11111101,
|
||||
0b11001111, 0b11100111,
|
||||
0b01001000, 0b00100100,
|
||||
0b00110000, 0b00011000
|
||||
0b00110000, 0b00011000,
|
||||
0b00000000, 0b00000000
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -16,9 +16,9 @@ extern Beacon *currentBeacon;
|
|||
extern int menuDisplay;
|
||||
extern bool symbolAvailable;
|
||||
|
||||
String symbolArray[9] = {"[", ">", "j", "b", "<", "s", "u", "R"};
|
||||
String symbolArray[10] = {"[", ">", "j", "b", "<", "s", "u", "R", "v"};
|
||||
int symbolArraySize = sizeof(symbolArray)/sizeof(symbolArray[0]);
|
||||
const uint8_t *symbolsAPRS[] = {runnerSymbol, carSymbol, jeepSymbol, bikeSymbol, motorcycleSymbol, shipSymbol, truckSymbol, recreationalVehicleSymbol};
|
||||
const uint8_t *symbolsAPRS[] = {runnerSymbol, carSymbol, jeepSymbol, bikeSymbol, motorcycleSymbol, shipSymbol, truckSymbol, recreationalVehicleSymbol, vanSymbol};
|
||||
|
||||
// T-Beams bought with soldered OLED Screen comes with only 4 pins (VCC, GND, SDA, SCL)
|
||||
// If your board didn't come with 4 pins OLED Screen and comes with 5 and one of them is RST...
|
||||
|
|
|
|||
Loading…
Reference in New Issue