Datasheet
Every product-related case program. It can be burned to the master through simple steps, and a series
of function verification can be performed.(Currently EasyLoader is only available for Windows
OS)
2.After downloading the software, double-click to run the application, connect the M5 device to
the computer via the data cable, select the port parameters, and click "Burn" to start burning.
Example
Arduino IDE
After burnt the example code
GPSRaw.ino , m5core and PC serial terminal will display following
information
3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned.
#include <M5Stack.h>
/* By default, GPS is connected with M5Core through UART2 */
HardwareSerial GPSRaw(2);
void setup() {
M5.begin();
GPSRaw.begin(9600);// GPS init
Serial.println("hello");
termInit();
}
void loop() {
// put your main code here, to run repeatedly:
if(Serial.available()) {
int ch = Serial.read();
GPSRaw.write(ch);
}
if(GPSRaw.available()) {
int ch = GPSRaw.read();// read GPS information
Serial.write(ch);
termPutchar(ch);
}
}
arduino
EasyLoader is a simple and fast program burner.
Note: The GPS module needs placed outdoors to be able to receive GPS signal
M5Stack Docks