-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3819a12
commit dd83149
Showing
13 changed files
with
398 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
#ifndef PANEL_SETTINGS_H | ||
#define PANEL_SETTINGS_H | ||
///////////////////// | ||
// #define PANEL_BIG // use 2 bit rgb image buffer | ||
// #define PANEL_FLASH // 4 bit flash buffer | ||
// #define PANEL_NO_BUFFER // no buffer, immediate mode only | ||
// #define PANEL_NO_FONT // disables everything font related, saves some flash | ||
// #define PANEL_MAX_SPEED // aggresively inlines the 4 draw assembly instructions, else its kept as a method to keep size down | ||
// #define PANEL_FLIP_VERTICAL // flips the panel vertically | ||
// #define PANEL_FLIP_HORIZONTAL // flips the panel horizontally | ||
///////////////////// | ||
|
||
// board size (currently max 1 board supported) | ||
#ifndef PANEL_X | ||
#define PANEL_X 64 | ||
#endif | ||
#ifndef PANEL_Y | ||
#define PANEL_Y 32 | ||
#endif | ||
|
||
// sleep for brightnesses | ||
#ifndef MAX_FRAMETIME | ||
#define MAX_FRAMETIME 127 | ||
#endif | ||
|
||
#ifdef PANEL_FLASH | ||
// have it bigger a size as we have more available lol | ||
#define PANEL_BUFFERSIZE (PANEL_X * PANEL_Y * 2) // 4 byte per led, we have 6 bit per 2 led per color depth -> about 4k | ||
#endif | ||
|
||
// standard LED struct buffer | ||
#ifndef PANEL_BUFFERSIZE | ||
#define PANEL_BUFFERSIZE (PANEL_X * PANEL_Y / 8) | ||
#endif | ||
|
||
#endif // PANEL_SETTINGS_H |
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.