Skip to content
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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

talan-z
Copy link

@talan-z talan-z commented Mar 26, 2024

New proposal incorporating PeriodicTrigger and updated macro structure based on feedback received

This change allows blinking functionality for status LED and brew LED.

@fiendie
Copy link
Member

fiendie commented Mar 26, 2024

Would you please run the "Custom > Apply clang-format" target in PlatformIO so the checks go through? Thanks!

@talan-z
Copy link
Author

talan-z commented Mar 26, 2024

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks wrong :D

@LoQue90
Copy link
Member

LoQue90 commented Aug 18, 2024

in my opinion, this is something that should be configurable from the website and not in the userconfig.
Maybe do you want to add this to this pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants