BACKLIGHT_ON_STATE config.h fixes (#8862)
parent
231464c49c
commit
37a4b53c4f
|
@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define BACKLIGHT_LEVELS 3
|
#define BACKLIGHT_LEVELS 3
|
||||||
#define BACKLIGHT_BREATHING
|
#define BACKLIGHT_BREATHING
|
||||||
#define BREATHING_PERIOD 6
|
#define BREATHING_PERIOD 6
|
||||||
#define BACKLIGHT_ON_STATE 1
|
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
|
@ -43,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define BACKLIGHT_PINS { B1, B2, B3, E6 }
|
#define BACKLIGHT_PINS { B1, B2, B3, E6 }
|
||||||
#define BACKLIGHT_LED_COUNT 4
|
#define BACKLIGHT_LED_COUNT 4
|
||||||
#define BACKLIGHT_LEVELS 10
|
#define BACKLIGHT_LEVELS 10
|
||||||
#define BACKLIGHT_ON_STATE 1
|
|
||||||
|
|
||||||
#define RGBLIGHT_ANIMATIONS
|
#define RGBLIGHT_ANIMATIONS
|
||||||
#define RGB_DI_PIN D6
|
#define RGB_DI_PIN D6
|
||||||
|
|
|
@ -52,6 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
* https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation
|
* https://docs.qmk.fm/#/feature_backlight?id=timer-assisted-pwm-implementation
|
||||||
*/
|
*/
|
||||||
#define BACKLIGHT_PIN D4
|
#define BACKLIGHT_PIN D4
|
||||||
|
#define BACKLIGHT_ON_STATE 0
|
||||||
|
|
||||||
#define RGB_DI_PIN B2
|
#define RGB_DI_PIN B2
|
||||||
#ifdef RGB_DI_PIN
|
#ifdef RGB_DI_PIN
|
||||||
|
|
|
@ -39,7 +39,3 @@ After putting your COD67 in bootloader mode, it will show up as a drive.
|
||||||
* Drag and drop your new `COD67.BIN` to the drive.
|
* Drag and drop your new `COD67.BIN` to the drive.
|
||||||
* Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing.
|
* Wait a few seconds for it to write. The caps lock LED flashes rapidly while writing.
|
||||||
* Press the `Esc` key or eject the drive in Finder to reset the board. You are now ready to type!
|
* Press the `Esc` key or eject the drive in Finder to reset the board. You are now ready to type!
|
||||||
|
|
||||||
## Notes
|
|
||||||
|
|
||||||
The backlight pin is attached to a non PWM pin `D4` so the backlight is only on/off.
|
|
||||||
|
|
|
@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define PRODUCT AEK64
|
#define PRODUCT AEK64
|
||||||
#define DESCRIPTION QMK keyboard firmware for AEK64 handwired
|
#define DESCRIPTION QMK keyboard firmware for AEK64 handwired
|
||||||
|
|
||||||
/* Define the backlight */
|
|
||||||
/*#define BACKLIGHT_ON_STATE 1*/
|
|
||||||
|
|
||||||
/* key matrix size */
|
/* key matrix size */
|
||||||
#define MATRIX_ROWS 5
|
#define MATRIX_ROWS 5
|
||||||
#define MATRIX_COLS 14
|
#define MATRIX_COLS 14
|
||||||
|
|
|
@ -41,7 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define BACKLIGHT_PIN F6
|
#define BACKLIGHT_PIN F6
|
||||||
// #define BACKLIGHT_BREATHING
|
// #define BACKLIGHT_BREATHING
|
||||||
#define BACKLIGHT_LEVELS 5
|
#define BACKLIGHT_LEVELS 5
|
||||||
#define BACKLIGHT_ON_STATE 1
|
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
|
@ -65,7 +65,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define BACKLIGHT_PINS { C2, C7, D5, D6, B0 }
|
#define BACKLIGHT_PINS { C2, C7, D5, D6, B0 }
|
||||||
#define BACKLIGHT_LED_COUNT 5
|
#define BACKLIGHT_LED_COUNT 5
|
||||||
#define BACKLIGHT_LEVELS 10
|
#define BACKLIGHT_LEVELS 10
|
||||||
#define BACKLIGHT_ON_STATE 1
|
|
||||||
|
|
||||||
/* Set 0 if debouncing isn't needed */
|
/* Set 0 if debouncing isn't needed */
|
||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#define BACKLIGHT_PIN B7
|
#define BACKLIGHT_PIN B7
|
||||||
#ifdef BACKLIGHT_PIN
|
#ifdef BACKLIGHT_PIN
|
||||||
#define BACKLIGHT_LEVELS 6
|
#define BACKLIGHT_LEVELS 6
|
||||||
//#define BACKLIGHT_ON_STATE 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* COL2ROW or ROW2COL */
|
/* COL2ROW or ROW2COL */
|
||||||
|
|
|
@ -52,6 +52,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#define BACKLIGHT_LEVELS 6
|
#define BACKLIGHT_LEVELS 6
|
||||||
#define BACKLIGHT_BREATHING
|
#define BACKLIGHT_BREATHING
|
||||||
#define BREATHING_PERIOD 6
|
#define BREATHING_PERIOD 6
|
||||||
|
#define BACKLIGHT_ON_STATE 0
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
|
@ -51,6 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#define BACKLIGHT_PIN F5
|
#define BACKLIGHT_PIN F5
|
||||||
#define BACKLIGHT_LEVELS 6
|
#define BACKLIGHT_LEVELS 6
|
||||||
|
#define BACKLIGHT_ON_STATE 0
|
||||||
|
|
||||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||||
#define DEBOUNCE 5
|
#define DEBOUNCE 5
|
||||||
|
|
Loading…
Reference in New Issue