~ruther/qmk_firmware

ref: ac2424fec687ee1ffde580a58c031fe7ad9d302b qmk_firmware/keyboards/org60/org60.h -rw-r--r-- 540 bytes
ac2424fe — dependabot[bot] Bump JamesIves/github-pages-deploy-action from 4.5.0 to 4.6.0 (#23548) 1 year, 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "quantum.h"
#include "led.h"

/* Org60 LEDs
 *   GPIO pads
 *   0 F7 not connected
 *   1 F6 RGB PWM Underglow
 *   2 F5 Backlight LED
 *   3 F4 not connected
 *   B2 Capslock LED
 *   B0 not connected
 */
inline void org60_caps_led_on(void)    { DDRB |=  (1<<2); PORTB &= ~(1<<2); }
inline void org60_bl_led_on(void)    	{ DDRF |=  (1<<5); PORTF &= ~(1<<5); }

inline void org60_caps_led_off(void)   { DDRB &= ~(1<<2); PORTB &= ~(1<<2); }
inline void org60_bl_led_off(void)   	{ DDRF &= ~(1<<5); PORTF &= ~(1<<5); }
Do not follow this link