Add RP2040 SCRAMBLE v2 (#19489)
This commit is contained in:
parent
6e42b58549
commit
b3dca4bb36
13 changed files with 288 additions and 51 deletions
|
|
@ -16,25 +16,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
// place overrides here
|
||||
void set_scramble_LED(uint8_t mode) {
|
||||
switch(mode) {
|
||||
case LED_ON:
|
||||
setPinOutput(PIN_LED);
|
||||
writePin(PIN_LED, GPIO_STATE_HIGH);
|
||||
break;
|
||||
|
||||
case LED_DIM:
|
||||
setPinInput(PIN_LED);
|
||||
break;
|
||||
|
||||
case LED_OFF:
|
||||
setPinOutput(PIN_LED);
|
||||
writePin(PIN_LED, GPIO_STATE_LOW);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue