This commit is contained in:
Thomas Livernet
2014-02-11 12:23:54 +01:00
parent 54b1d37913
commit eaa57fcbb1
3 changed files with 87 additions and 87 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 667 KiB

After

Width:  |  Height:  |  Size: 657 KiB

View File

@@ -4,7 +4,7 @@
#include <Encoder.h>
#include <Wire.h> //i2c library
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP085_U.h> //bmp085 library, download from url link (1)
#include <Adafruit_BMP085_U.h>
#include <toneAC.h>
#include <Adafruit_GFX.h>
#include <Adafruit_PCD8544.h>
@@ -735,14 +735,19 @@ void menuSetup()
This is the structure of the modelled menu
Vario
Stats
Retour
Statistiques
Reset
Options
Retour
Tare
Altitude
Montée
Montee
Descente
Light
Contra
Date
*/
m_vario.addAfter(m_stats);
@@ -767,10 +772,7 @@ void menuSetup()
}
/*
This is an important function
Here all use events are handled
This is where you define a behaviour for a menu item
Here all menu use events are handled
*/
void menuUseEvent(MenuUseEvent used)
{
@@ -787,9 +789,7 @@ void menuUseEvent(MenuUseEvent used)
}
/*
This is an important function
Here we get a notification whenever the user changes the menu
That is, when the menu is navigated
That is when the user changes the menu
*/
void menuChangeEvent(MenuChangeEvent changed)
{