mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
add ZH-CN api
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
**Description:**
|
||||
|
||||
Load <EEPROM.h> before use
|
||||
|
||||
Open EEPROM,Size is the maximum address + 1 of the data bytes to be read and written, ranging from 1 to 4096.
|
||||
|
||||
**Function argument**
|
||||
@@ -24,6 +25,7 @@ Open EEPROM,Size is the maximum address + 1 of the data bytes to be read and wri
|
||||
**Description:**
|
||||
|
||||
Load <EEPROM.h> before use
|
||||
|
||||
Write data to storage space.
|
||||
|
||||
**Function argument**
|
||||
@@ -42,6 +44,7 @@ Write data to storage space.
|
||||
**Description:**
|
||||
|
||||
Load <EEPROM.h> before use
|
||||
|
||||
This function needs to be called every time an address is written.
|
||||
|
||||
**Function argument**
|
||||
@@ -57,6 +60,7 @@ None
|
||||
**Description:**
|
||||
|
||||
Load <EEPROM.h> before use
|
||||
|
||||
Reading data from storage space.
|
||||
|
||||
**Function argument**
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
**Description:**
|
||||
|
||||
Load <Ticker.h> before use
|
||||
|
||||
Execute a command in seconds, which is executed only once.
|
||||
|
||||
**Function argument**
|
||||
@@ -25,6 +26,7 @@ Execute a command in seconds, which is executed only once.
|
||||
**Description:**
|
||||
|
||||
Load <Ticker.h> before use
|
||||
|
||||
Execute a command in milliseconds, which is executed only once.
|
||||
|
||||
**Function argument**
|
||||
@@ -43,6 +45,7 @@ Execute a command in milliseconds, which is executed only once.
|
||||
**Description:**
|
||||
|
||||
Load <Ticker.h> before use
|
||||
|
||||
Execute commands with parameters after every seconds.
|
||||
|
||||
**Function argument**
|
||||
@@ -62,6 +65,7 @@ Execute commands with parameters after every seconds.
|
||||
**Description:**
|
||||
|
||||
Load <Ticker.h> before use
|
||||
|
||||
Execute commands with parameters after every milliseconds.
|
||||
|
||||
**Function argument**
|
||||
@@ -81,6 +85,7 @@ Execute commands with parameters after every milliseconds.
|
||||
**Description:**
|
||||
|
||||
Load <Ticker.h> before use
|
||||
|
||||
Execute the command after every second with no parameters.
|
||||
|
||||
**Function argument**
|
||||
@@ -99,13 +104,14 @@ Execute the command after every second with no parameters.
|
||||
**Description:**
|
||||
|
||||
Load <Ticker.h> before use
|
||||
|
||||
Execute the command after every milliseconds with no parameters.
|
||||
|
||||
**Function argument**
|
||||
|
||||
| Function argument |Type |Description |
|
||||
| --- | --- | --- |
|
||||
| seconds | float | Set time |
|
||||
| milliseconds | float | Set time |
|
||||
| callback | callback_t | Custom callback function |
|
||||
|
||||
## Usage {docsify-ignore}
|
||||
|
||||
Reference in New Issue
Block a user