Update pinout for Rev. 1.0 Iris without LED
This commit is contained in:
parent
ac642de9d7
commit
c73514a2b7
11 changed files with 164 additions and 9 deletions
22
keyboards/iris/rev1_led/rev1_led.c
Normal file
22
keyboards/iris/rev1_led/rev1_led.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include "rev1_led.h"
|
||||
|
||||
|
||||
#ifdef SSD1306OLED
|
||||
void led_set_kb(uint8_t usb_led) {
|
||||
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
|
||||
led_set_user(usb_led);
|
||||
}
|
||||
#endif
|
||||
|
||||
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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue