1
0
Fork 0

Update handwired/frenchdev keyboard (#5443)

This commit is contained in:
Drashna Jael're 2019-04-22 08:25:21 -07:00 committed by MechMerlin
parent 76e78e8ca1
commit c7583d181a
8 changed files with 115 additions and 525 deletions

View file

@ -1,10 +1,9 @@
#ifndef FRENCHDEV_V1_H
#define FRENCHDEV_V1_H
#pragma once
#include "quantum.h"
#include <stdint.h>
#include <stdbool.h>
#include "i2cmaster.h"
#include "i2c_master.h"
#include <util/delay.h>
#define CPU_PRESCALE(n) (CLKPR = 0x80, CLKPR = (n))
@ -24,6 +23,7 @@
#define OLATB 0x15
extern uint8_t mcp23018_status;
#define I2C_TIMEOUT 100
void init_frenchdev(void);
void frenchdev_blink_all_leds(void);
@ -111,5 +111,3 @@ inline void frenchdev_led_all_set(uint8_t n)
{ k51, k41, k31, k21, k11, k01 }, \
{ k50, k40, k30, k20, k10, KC_NO } \
}
#endif