Datasheet

1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a
product-related case program. It can be burned to the master through simple steps, and a series
of function verification can be performed. .
2
. After downloading the software, double-click to run the application, connect the M5 device to
the computer through the data cable, select the port parameters, click "Burn" to start burning.
(For M5StickC burning, please Set the baud rate to 750000 or 115200)
Example
1. Arduino IDE
The below code is incomplete(just for usage). If you want the complete code, please click here.
3. Currently EasyLoader is only suitable for Windows operating system, compatible with M5
system adopts ESP32 as the control core host. Before installing for M5Core, you need to install
CP210X driver (you do not need to install with M5StickC as controller)
#include <M5Stack.h>
#include <Wire.h>
#define ToF_ADDR 0x29//the iic address of tof
#define SYSRANGE_START 0x00
#define RESULT_RANGE_STATUS 0x14
#define ToF_ADDR 0x29 //the IIC address of ToF
// declaration
uint16_t dist=0;
// initialization
M5.begin();
Wire.begin();// join i2c bus (address optional for master)
// read data
write_byte_data_at(VL53L0X_REG_SYSRANGE_START, 0x01);
read_block_data_at(VL53L0X_REG_RESULT_RANGE_STATUS, 12);//read 12 bytes once
// get distance
dist = makeuint16(gbuf[11], gbuf[10]);//split distance data to variable "dist"
arduino
M5Stack Docs