文件系统运行脚本 echo函数 创建一个MicroPython脚本并上传到ESP设备 def echo(content): print (content) print("Running a script from the file system!") echo("Invoking a function") 上传文件 ampy --port COM5 put scr