1
0
Fork 0

Initial commit for Planck PCB Rev 1.

- Backlight on PB7 controlled by Timer1 Fast PWM (no interrupts).
- Backlight commands connected temporarily to top left keys.
- Backlight init called from matrix.c, since there's no generic keyboard_init() override function.
This commit is contained in:
Wilba6582 2015-03-17 00:43:37 +11:00
parent 0fcb3b65f8
commit 15b9bce6ba
5 changed files with 127 additions and 35 deletions

View file

@ -34,6 +34,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
/* number of backlight levels */
/* NOTE: this is the max value of 0..BACKLIGHT_LEVELS so really 16 levels. */
#define BACKLIGHT_LEVELS 15
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5