mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
Implementation mistake: definition not in specification(batteryMode)
*Delete batteryMode *Add powerMode
This commit is contained in:
@@ -188,16 +188,16 @@ void POWER::reset() {
|
||||
|
||||
**構文:**
|
||||
|
||||
<mark>bool batteryMode(bool en)</mark>
|
||||
<mark>bool boostMode(bool en)</mark>
|
||||
|
||||
**説明:**
|
||||
|
||||
バッテリーの供給状態を設定します
|
||||
電源の供給状態を設定します
|
||||
|
||||
**定義:**
|
||||
|
||||
```arduino
|
||||
bool batteryMode(bool en){
|
||||
bool boostMode(bool en){
|
||||
|
||||
uint8_t data;
|
||||
Wire.beginTransmission(IP5306_ADDR);
|
||||
|
||||
Reference in New Issue
Block a user