Add charge status monitoring and LED control
- Add LED_0 pin definition and charge status GPIO pin - Implement charge status monitoring in main loop - Add LED visual indicators for charging state - Configure LVGL Montserrat 10 font and set as default - Reset GPIO pins to clear SPI configurations - Update COM port to COM14 in VSCode settings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
// Define keypad buttons
|
||||
#define PIN_NUM_BUTTON_0 36
|
||||
#define PIN_NUM_BUTTON_1 39
|
||||
#define PIN_NUM_LED_1 32
|
||||
#define PIN_NUM_LED_2 33
|
||||
#define PIN_NUM_LED_0 32
|
||||
#define PIN_NUM_LED_1 33
|
||||
#define PIN_NUM_LED_2 25
|
||||
#define PIN_NUM_nON 26
|
||||
#define PIN_NUM_CHARGE_STATUS 2
|
||||
|
||||
|
||||
// Define GPIO pins
|
||||
|
||||
Reference in New Issue
Block a user