2 * This file is part of the ExpressLRS distribution (https://github.com/ExpressLRS/ExpressLRS).
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, version 3.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
21 class OLEDScreen
: public Screen
24 void doRateValueSelect(int action
);
25 void doPowerValueSelect(int action
);
26 void doRatioValueSelect(int action
);
27 void doPowerSavingValueSelect(int action
);
28 void doSmartFanValueSelect(int action
);
30 void updateMainMenuPage();
31 void updateSubFunctionPage();
32 void updateSubWIFIModePage();
33 void updateSubBindConfirmPage();
34 void updateSubBindingPage();
38 void doValueConfirm();
40 void displayMainScreen();
44 void init(bool reboot
);
46 void doParamUpdate(uint8_t rate_index
, uint8_t power_index
, uint8_t ratio_index
, uint8_t motion_index
, uint8_t fan_index
);
47 void doTemperatureUpdate(uint8_t temperature
);
48 void doScreenBackLight(int state
);