Skip to content

Conversation

@jp-bennett
Copy link
Collaborator

Uses the green LED as a message indicator, and adds a fast blink critical battery warning.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances LED functionality for the ThinkNode-M3 device by adding message notification support using the green LED and implementing a critical battery warning with fast blinking behavior.

  • Adds PIN_LED2 definition mapping to the green LED for external notification support
  • Implements critical battery state (≤5% charge) with fast blink warning pattern
  • Configures external notification module to use the green LED for message indicators

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
variants/nrf52840/ELECROW-ThinkNode-M3/variant.h Defines PIN_LED2 as green_LED_PIN to enable external notification LED
src/modules/StatusLEDModule.h Adds critical power state and timing variables for fast blink management
src/modules/StatusLEDModule.cpp Implements critical battery detection (≤5%) and fast blink warning logic
src/mesh/NodeDB.cpp Enables external notification module for ThinkNode-M3 using green LED

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants