-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tidy up LCD_ENABLE/visualizer references (#14855)
* Tidy up LCD_ENABLE/visualizer references * Fix up my (333fred) ergodox keymap with new LCD driver Co-authored-by: Fredric Silberberg <[email protected]>
- Loading branch information
Showing
19 changed files
with
57 additions
and
1,107 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 |
---|---|---|
|
@@ -6,6 +6,4 @@ | |
#include "../../config.h" | ||
#include "dudeofawesome.h" | ||
|
||
#include "./visualizer.h" | ||
|
||
#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
123 changes: 0 additions & 123 deletions
123
keyboards/ergodox_infinity/keymaps/dudeofawesome/simple_visualizer.h
This file was deleted.
Oops, something went wrong.
79 changes: 0 additions & 79 deletions
79
keyboards/ergodox_infinity/keymaps/dudeofawesome/visualizer.c
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
keyboards/ergodox_infinity/keymaps/dudeofawesome/visualizer.h
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
1816006
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zvecr / @333fred Do you know if it's still possible to control the LCD screen on an ergodox_infinity after this commit? It seems like this commit simply removed it all together, but I'm not sure if there's some newer way I should be setting it up. If you do know how to do it after this commit, would you mind linking me to documentation/code pointers or providing a rough overview?
I tried reverting back to a commit before this but unfortunately am running into build problems on that commit.
1816006
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding is no, not until #10174 is merged.
1816006
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, here is what I ended with after some research :
ergodox_infinity_lcd_color
take a uint16 forr, g, b
colors. After trial and errors, I found that minimum neutral intensity is nice aroundUINT16_MAX / 2
, lets call it the default intensity.When choosing a color start by using a standard RGB, eg pink
r(255), g(99), b(71)
.From that, mutiply all RGB values by 100 and add default intensity. This should give you some nice colors with sharped differences somewhat close to the RGB color you choose in the first place.
To set a text value, just use
st7565_write_P(PSTR("TEXT"), false);
Hope it helps.