mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Add FM to the OLED display.
This commit is contained in:
17
OLED.cpp
17
OLED.cpp
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2016,2017,2018 by Jonathan Naylor G4KLX
|
||||
* Copyright (C) 2016,2017,2018,2020 by Jonathan Naylor G4KLX
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -306,6 +306,21 @@ void COLED::setQuitInt()
|
||||
m_display.display();
|
||||
}
|
||||
|
||||
void COLED::setFMInt()
|
||||
{
|
||||
m_mode = MODE_FM;
|
||||
|
||||
m_display.clearDisplay();
|
||||
OLED_statusbar();
|
||||
|
||||
m_display.setCursor(0,30);
|
||||
m_display.setTextSize(3);
|
||||
m_display.print("FM");
|
||||
|
||||
m_display.setTextSize(1);
|
||||
m_display.display();
|
||||
}
|
||||
|
||||
void COLED::writeDStarInt(const char* my1, const char* my2, const char* your, const char* type, const char* reflector)
|
||||
{
|
||||
m_mode = MODE_DSTAR;
|
||||
|
||||
Reference in New Issue
Block a user