This commit is contained in:
Jack Humbert 2015-08-16 17:51:53 -04:00
parent 07d090db8b
commit b3f638f491
20 changed files with 309 additions and 366 deletions

View file

@ -23,13 +23,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdbool.h>
#include <avr/io.h>
#include <util/delay.h>
#include "print.h"
// #include "print.h"
#include "debug.h"
#include "util.h"
#include "matrix.h"
#include "backlight.h" // TODO fix this dependency
#ifndef DEBOUNCE
# define DEBOUNCE 10
#endif
@ -67,7 +66,7 @@ void matrix_init(void)
// Turn status LED on
DDRE |= (1<<6);
PORTE |= (1<<6);
// initialize row and col
unselect_rows();
init_cols();