- software sanglass
- timer preset: 30s, 1m, 1m30s, 2m, 3m, 5m, 10m, 15m, 30m, 60m
- battery gauge
- auto power off
- repeat mode
- mute mode
- Start Arduino IDE
Preferences
-> Sethttps://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
toAdditional Board Manager URLs
Board Manager
(Arduino: Board Manager
command in VS Code ) -> filteresp32
-> installesp32
Library Manager
(Arduino: Library Manager
command in VS Code ) -> filterM5StickCPlus
-> installM5StickCPlus
- Start VS Code
- Run
Arduino: Board Config
Command from Command Palette. SelectM5Stick-C (esp32)
onSelect Board
. - Connect a M5StickC Plus to your PC with USB cable.
- Run
Arduino: Select Serial Port
Command from Command Palette. Select a M5StickC Plus's Port. - Run
Arduino: Upload
Command from Command Palette
button | description |
---|---|
main | change timer |
left side(power off) | power on |
left side( < 1s) | reset to top |
left side( < 4s) | reset to bottom |
left side( >= 4s) | power off |
right siede | change mode |
color | description |
---|---|
blue | charging ( gyro off ) |
green | normal |
yellow | low battery |
red | almost empty battery |
mode | description |
---|---|
R | repeat |
M | mute |
timer | color |
---|---|
30s | blue |
1m | red |
1m30s | green |
2m | cyan |
3m | magenta |
5m | yellow |
10m | orange |
15m | green yellow |
30m | pink |
60m | white |
You can edit timer preset in config.h
.