Updates
This commit is contained in:
BIN
Variometer.fzz
BIN
Variometer.fzz
Binary file not shown.
BIN
Variometer.png
BIN
Variometer.png
Binary file not shown.
|
Before Width: | Height: | Size: 667 KiB After Width: | Height: | Size: 657 KiB |
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user