mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-07 04:42:13 +00:00
UI to turn on antenna bias voltage.
This commit is contained in:
@@ -176,6 +176,53 @@ private:
|
||||
SetFrequencyCorrectionModel form_collect();
|
||||
};
|
||||
|
||||
class AntennaBiasSetupView : public View {
|
||||
public:
|
||||
AntennaBiasSetupView(NavigationView& nav);
|
||||
|
||||
void focus() override;
|
||||
|
||||
private:
|
||||
Text text_title {
|
||||
{ 5 * 8, 3 * 16, 20 * 8, 16 },
|
||||
"Antenna Bias Voltage"
|
||||
};
|
||||
|
||||
Text text_description_1 {
|
||||
{ 24, 6 * 16, 24 * 8, 16 },
|
||||
"CAUTION: Ensure that all"
|
||||
};
|
||||
|
||||
Text text_description_2 {
|
||||
{ 28, 7 * 16, 23 * 8, 16 },
|
||||
"devices attached to the"
|
||||
};
|
||||
|
||||
Text text_description_3 {
|
||||
{ 8, 8 * 16, 28 * 8, 16 },
|
||||
"antenna connector can accept"
|
||||
};
|
||||
|
||||
Text text_description_4 {
|
||||
{ 68, 9 * 16, 13 * 8, 16 },
|
||||
"a DC voltage!"
|
||||
};
|
||||
|
||||
OptionsField options_bias {
|
||||
{ 100, 12 * 16 },
|
||||
5,
|
||||
{
|
||||
{ " Off ", 0 },
|
||||
{ " On ", 1 },
|
||||
}
|
||||
};
|
||||
|
||||
Button button_done {
|
||||
{ 72, 15 * 16, 96, 24 },
|
||||
"Done"
|
||||
};
|
||||
};
|
||||
|
||||
class AboutView : public View {
|
||||
public:
|
||||
AboutView(NavigationView& nav);
|
||||
|
||||
Reference in New Issue
Block a user