diff options
author | Drashna Jaelre <drashna@live.com> | 2018-03-16 13:26:21 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-16 16:26:21 -0400 |
commit | 54f1cdfb1ef13cacb6a8271fe2f1950f50f78c36 (patch) | |
tree | f9c09ad6772b8f178e79ffc25758285942f13771 /keyboards/orthodox/rev3_teensy/rev3_teensy.c | |
parent | a730cf6718919e89ed44f5e15f24b7c2022400a1 (diff) | |
download | qmk_firmware-54f1cdfb1ef13cacb6a8271fe2f1950f50f78c36.tar.gz |
Add teensy revision folder for Orthodox Rev3 (#2510)
* Add Rev3 Teensy for Orthodox
* MOve bootloader defines into revision folders
* Finishing touches
Diffstat (limited to 'keyboards/orthodox/rev3_teensy/rev3_teensy.c')
-rw-r--r-- | keyboards/orthodox/rev3_teensy/rev3_teensy.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/orthodox/rev3_teensy/rev3_teensy.c b/keyboards/orthodox/rev3_teensy/rev3_teensy.c new file mode 100644 index 000000000..ae45e34b1 --- /dev/null +++ b/keyboards/orthodox/rev3_teensy/rev3_teensy.c @@ -0,0 +1,35 @@ +/* +This is the source file for the subproject + +Copyright 2012 Jun Wako <wakojun@gmail.com> +Copyright 2015 Jack Humbert +Copyright 2017 Art Ortenburger + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "orthodox.h" + +void matrix_init_kb(void) { + + //// // green led on + //// DDRD |= (1<<5); + //// PORTD &= ~(1<<5); + + //// // orange led on + //// DDRB |= (1<<0); + //// PORTB &= ~(1<<0); + + matrix_init_user(); +}; |