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