-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #469 from cyberman54/development
v1.9.6
- Loading branch information
Showing
44 changed files
with
1,390 additions
and
1,176 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
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
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 |
---|---|---|
@@ -1,16 +1,26 @@ | ||
#ifndef _DISPLAY_H | ||
#define _DISPLAY_H | ||
|
||
#include <U8x8lib.h> | ||
#include "cyclic.h" | ||
#include "qrcode.h" | ||
|
||
extern uint8_t DisplayIsOn; | ||
|
||
extern HAS_DISPLAY u8x8; | ||
|
||
void init_display(const char *Productname, const char *Version); | ||
void refreshTheDisplay(bool nextPage = false); | ||
void init_display(uint8_t verbose = 0); | ||
void draw_page(time_t t, uint8_t page); | ||
void DisplayKey(const uint8_t *key, uint8_t len, bool lsb); | ||
void dp_printf(uint16_t x, uint16_t y, uint8_t font, uint8_t inv, | ||
const char *format, ...); | ||
void dp_printqr(uint16_t offset_x, uint16_t offset_y, const char *Message); | ||
void oledfillRect(uint16_t x, uint16_t y, uint16_t width, uint16_t height, | ||
uint8_t bRender); | ||
void oledScrollBufferHorizontal(uint8_t *buf, const uint16_t width, | ||
const uint16_t height, bool left = true); | ||
void oledScrollBufferVertical(uint8_t *buf, const uint16_t width, | ||
const uint16_t height, int offset = 0); | ||
int oledDrawPixel(uint8_t *buf, const uint16_t x, const uint16_t y, | ||
const uint8_t dot); | ||
void oledPlotCurve(uint16_t count, bool reset); | ||
void oledRescaleBuffer(uint8_t *buf, const int factor); | ||
|
||
#endif |
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
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
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
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
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
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
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
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
Oops, something went wrong.