summaryrefslogtreecommitdiff
path: root/keyboards/handwired/2x5keypad/2x5keypad.h
blob: 6284e83b72afc40b4c7345f073bc4c469a48b77d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "quantum.h"

#define RED_LED D0
#define BLUE_LED B5
#define GREEN_LED B6


#define LAYOUT( \
	K00, K01, K02, K03, K04, \
	K10, K11, K12, K13, K14  \
) { \
	{ K00,   K01,   K02,   K03,   K04 }, \
	{ K10,   K11,   K12,   K13,   K14 }  \
}



void turn_off_leds(void);
void turn_on_led(pin_t pin);