SpacehuhnTech / WiFiDuck

Wireless keystroke injection attack platform
http://wifiduck.com
MIT License
2.03k stars 353 forks source link

Support regular (non-RGB) LEDs, including an onboard LED #127

Open chris-bc opened 1 year ago

chris-bc commented 1 year ago

I didn't want the hassle of dealing with an RGB LED, but I still wanted some way for the script to indicate a status change.

If no RGB LED is configured in config.h a regular single-colour LED will be used to complete 'LED' commands. If LED_PIN is #defined (config.h) the specified pin will be used. Otherwise LED_BUILTIN will be used.