我们往m5stack烧录的固件是可以在线编程的
具体使用方法可以参考
https://github.com/m5stack/M5Cloud/blob/master/README_CN.md
下面来实际体验一下
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144734401-2048680151.png)
我们先用手机连接热点
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144735275-1302570148.png)
接下来按照屏幕上的提示,发送SSID与密码
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144735873-1570649710.png)
在PC上访问网站
http://io.m5stack.com
登录账号与密码
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144736489-1322038233.png)
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144737062-2037051188.png)
比如我们需要在屏幕上打出hello world
from m5stack import lcd
lcd.clear()
lcd.setCursor(0, 0)
lcd.setColor(lcd.WHITE)
lcd.print("Hello world!")
接着下载运行即可
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144737592-1324439605.png)
接着在开发板上就可以看到hello world了
![](https://img2018.cnblogs.com/blog/674969/201902/674969-20190212144738869-1195660889.png)