-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added GPS/ECU functionality to secondary display
- Loading branch information
Showing
6 changed files
with
513 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"files.associations": { | ||
"random": "cpp" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// SECONDARY_LOOP_H | ||
|
||
#ifndef SECONDARY_LOOP_H | ||
#define SECONDARY_LOOP_H | ||
|
||
#include <MD_UISwitch.h> | ||
#include "LedController.hpp" | ||
|
||
#define DIN 5 | ||
#define CS 4 | ||
#define CLK 15 | ||
|
||
extern LedController<1, 1> secondaryDisplay; | ||
extern unsigned long delaytime; | ||
|
||
#define TXT_BUF_SIZE 128 | ||
|
||
// Variables declared as extern for access in other source files | ||
extern volatile char secondaryScreenMode[]; | ||
extern volatile bool newMessageAvailable2; | ||
extern volatile char newMessage2[TXT_BUF_SIZE]; | ||
|
||
void scrollGolf86On7Segment(); | ||
void showText(const char *text); | ||
void secondaryDisplayLoop(void *parameter); | ||
|
||
#endif // SECONDARY_LOOP_H |
Oops, something went wrong.