平台:SM1432F405
固件:Micropython
功能:输出信息
示例代码:
print("hello world")
MicroPython 是 Python 3 编程语言的一个精简高效的实现,它包含了 Python 标准库的一小部分子集,并且经过优化,可以在微控制器上和受限环境中运行。 MicroPython pyboard 是一块紧凑的电子电路板,它在裸机上运行 MicroPython,让你拥有一个低级的 Python 操作系统,可以用来控制各种电子项目。 MicroPython 充满了先进的功能,如交互式提
RT-Thread 为广大开发者提供了 VSCode 最好用的 MicroPython 插件 来帮助大家使用 MicroPython 来开发应用程序。该插件为 MicroPython 开发提供了功能强大的开发环境,主要特性如下: 便捷的开发板连接方式(串口、网络、USB) 支持基于 MicroPython 的代码智能补全与语法检查 支持 MicroPython REPL 交互环境 提供丰富的代码示
pycom-micropython,MicroPython 的一个分支,具有自定义的在 Pycom 的 IoT 多网络模块上运行的 ESP32 端口。 这是 MicroPython 项目,其目的是在微控制器和小型嵌入式系统上实现 Python 3.x。
MicroPython是Python的一个精简版本,它是为了运行在单片机这样的性能有限的微控制器上,最小体积仅256K,运行时仅需16K内存。 MicroPython是基于Python 3.4的语法标准。因为要适应嵌入式微控制器,所以裁剪了大部分标准库,仅保留部分模块如math、sys的部分函数和类。此外,很多标准模块如json、re等在MicroPython中变成了以u开头的ujson、ure,
MicroPython 标准库 Builtin functions and exceptions – 内置函数与异常 cmath – 复数运算函数功能 gc – 控制垃圾收集器 math – 数学函数功能 sys – 系统特定功能 uarray – 数组存储功能 ubinascii – 二进制与 ASCII 码转换功能 ucollections – 集合与容器类型 uerrno – 系统错误码 u
W601 IoT Board 是 RT-Thread 推出的一款物联网开发板,它给开发者带来了物联网时代的无限可能。而现在,它已经不仅仅是一块简单的物联网开发板,因为它已经全面支持 MicroPython 。在 IoT Board 上,你将会体验到有别于传统的,前所未有的开发方式。 借助于 MicroPython,你将有能力使用 Python 语言控制所有硬件外设,体验高级语言带来的便利特性,与此
当使用原生 MicroPython 进行开发时,你可能会遇到这样一些限制,比如官方没有实现自己想要的功能,或者你觉得这些实现不符合自己的工作需求。此时,添加自己的 C 模块到 MicroPython 中是一个不错的选择,你可以按照自己的想法,设计适合自己的 Python 函数调用。 为了帮助各位开发者快速添加 C 模块,RT-Thread 提供了相应的辅助工具 C 绑定代码自动生成器。该工具可以帮
MicroPython 固件开发指南 如果手上没有官方支持固件的开发板,就需要自己来动手制作 MicroPython 固件了。由于 RT-Thread 官方提供了 MicroPython 软件包,并且 MicroPython 底层和硬件绑定时对接了 RT-Thread 驱动框架,因此可以很方便地在运行了 RT-Thread 的板卡上将 MicroPython 跑起来。 注意:RT-Thread M