NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
display.h
Go to the documentation of this file.
1 /*
2  * This file is part of Ninjaflight.
3  *
4  * Ninjaflight is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * Ninjaflight is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Ninjaflight. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 //#define ENABLE_DEBUG_OLED_PAGE
19 
20 typedef enum {
27 #ifndef SKIP_TASK_STATISTICS
29 #endif
30 #ifdef GPS
31  PAGE_GPS,
32 #endif
33 #ifdef ENABLE_DEBUG_OLED_PAGE
34  PAGE_DEBUG,
35 #endif
36 } pageId_e;
37 
38 void displayInit(void);
39 
40 void updateDisplay(void);
41 
42 void displayShowFixedPage(pageId_e pageId);
43 
44 void displayEnablePageCycling(void);
45 void displayDisablePageCycling(void);
46 void displayResetPageCycling(void);
47 void displaySetNextPageChangeAt(uint32_t futureMicros);
void displayEnablePageCycling(void)
Definition: display.h:26
void displaySetNextPageChangeAt(uint32_t futureMicros)
Definition: display.h:23
Definition: display.h:22
Definition: display.h:24
void displayInit(void)
void displayShowFixedPage(pageId_e pageId)
Definition: display.h:21
void updateDisplay(void)
Definition: display.h:25
void displayResetPageCycling(void)
pageId_e
Definition: display.h:20
void displayDisablePageCycling(void)
Definition: display.h:28