[Keyboard] Convert ErgoDox EZ to Matrix Lite (#10189)

* Convert ErgoDox EZ to lite matrix

* Add initial config from Dactyl config

Based on ErinCall's work to generalize the mcp i/o expander matrix code

* formatting

* Fix number of pins

* Remove unused defines
This commit is contained in:
Drashna Jaelre
2020-09-30 16:52:47 -07:00
committed by GitHub
parent 482c9fbbf2
commit 11c308d436
5 changed files with 147 additions and 214 deletions
-4
View File
@@ -4,10 +4,6 @@
#include <stdint.h>
#include <stdbool.h>
#include "i2c_master.h"
#include <util/delay.h>
#define CPU_PRESCALE(n) (CLKPR = 0x80, CLKPR = (n))
#define CPU_16MHz 0x00
// I2C aliases and register addresses (see "mcp23018.md")
#define I2C_ADDR 0b0100000