ABC 5.0 Test - An advanced ultra low power multi-click button core code - AVR MCU
Channel:
Subscribers:
580
Published on ● Video Link: https://www.youtube.com/watch?v=OwiJ8B4Nlw4
Advanced button code 5.0 has been developed. 5.0 focuses more not only on the button itself, but the integration of the watchdog timer with main application seamlessly, efficiently and ultra-low power, so here watchdog is used both to 1, debounce the button; and 2, time the blinking LED.
Note: Power down current 7uA is actually very high, and it's caused by the forgetting to switch of watchdog timer, and it has been fixed and confirmed. The final power down current is less than 100nA.
Buttons operation:
1-click toggle on white LED brightness;
2-click cycle through 4 modes (3 modes with 3 flashing rates; 1 PDM)
5-click toggle on the blue LED
*3-4-click unused;