mlukasek / M5_NightscoutMon

M5Stack Nightscout monitor
GNU General Public License v3.0
197 stars 153 forks source link

LED issue #67

Open babygirl1248 opened 3 years ago

babygirl1248 commented 3 years ago

I am facing an issue with my m5stack core2 device. I have the M5GO bottom2 (https://shop.m5stack.com/products/m5go-battery-bottom2-for-core2-only) which has integrated LED's I have played around (and researched) and found the leds are on PIN 25. I set in the config to use pin 25 (which appears to be default?) and nothing happens. However I found if I change to pin 15, save then change back to pin 25, the leds light up accordingly, however I lose the screen (goes blank, screen is still lit up). And upon reboot the leds stop working. Half the time the config file turns back off the led mode also. If anyone has ideas I would greatly appriciate it.

wilbur4321 commented 2 years ago

I have discovered the same with the AWS version of the core2 device. Looking at the code, it appears that LED support is disabled in the core2 code. I'm working on a fix right now, if you want to keep an eye on my fork. (you'll need platformio to build it, not arduino ide)

karelkral commented 1 year ago

@babygirl1248 Did you realize how to use M5GO bottom2 with existing battery? As I understand, I must remove the existing battery when connecting M5GO bottom2.