Testing Messagepack for saving/loading stuff from SD card

This commit is contained in:
furrtek
2016-05-15 02:35:08 +02:00
parent 7267de234d
commit 61fdb57b8f
20 changed files with 394 additions and 51 deletions
+15 -2
View File
@@ -26,6 +26,7 @@
#include "ui_menu.hpp"
#include "ui_navigation.hpp"
#include "ui_font_fixed_8x16.hpp"
#include "ui_receiver.hpp"
#include "clock_manager.hpp"
#include "message.hpp"
#include "rf_path.hpp"
@@ -51,6 +52,7 @@ private:
bool txing = false;
const rf::Frequency epar_freqs[7] = { 31325000, 31387500, 31437500, 31475000, 31687500, 31975000, 88000000 };
char epar_bits[13];
void on_tuning_frequency_changed(rf::Frequency f);
/* |012345678901234567890123456789|
* | Code ville: 000 |
@@ -88,7 +90,10 @@ private:
{ 5 * 8, 4 * 16, 10 * 8, 16 },
"Frequence:"
};
OptionsField options_freq {
FrequencyField field_frequency {
{ 16 * 8, 4 * 16 },
};
/*OptionsField options_freq {
{ 16 * 8, 4 * 16},
7,
{
@@ -100,7 +105,7 @@ private:
{ "31.9750", 5 },
{ "TEST 88", 6 }
}
};
};*/
Checkbox checkbox_ra {
{ 7 * 8, 6 * 16 },
@@ -113,6 +118,14 @@ private:
"Relais 2"
};
NumberField excur {
{ 12 * 8, 10 * 16 },
4,
{ 0, 5000 },
20,
' '
};
ProgressBar progressbar {
{ 2 * 8, 12 * 16, 26 * 8, 20 },
};