-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added LED blink functionality #485
base: master
Are you sure you want to change the base?
Conversation
options for BREW LED and STATUS LED
Would you please run the "Custom > Apply clang-format" target in PlatformIO so the checks go through? Thanks! |
I have updated the files in clang-format. Thanks for the hint |
#define FEATURE_STATUS_LED_TYPE 1 // 1 = Turn on status LED when temp is in range - otherwise off, 2 = Turn on status LED when temp is in range - otherwise blinking | ||
#define FEATURE_BREW_LED 0 // Turn on brew LED when brew is started, 0 = deactivated, 1 = activated, 2 = blink | ||
#define FEATURE_BREW_LED_TYPE \ | ||
1 // 1 = Turn on brew LED when brew is started, 2 = Blink brew LED when brew is started#define LED_TYPE LED::STANDARD // STANDARD_LED for an LED connected to a GPIO pin, WS2812 for adressable LEDs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks wrong :D
in my opinion, this is something that should be configurable from the website and not in the userconfig. |
New proposal incorporating PeriodicTrigger and updated macro structure based on feedback received
This change allows blinking functionality for status LED and brew LED.