下面的标准Python库已被微型化,以适应MicroPython的原理。这些库执行该模块的核心功能,并被设计作为标准Python库的替代选择。以下的某些模块使用标准的Python名,但带有“u”前缀,例如,其名称为 ujson 而不是 json。 这表示这样的一个模块是micro-library,即仅实现CPython模块功能的一个子集。通过以不同方式命名它们,...
地址:https://pycopy.readthedocs.io/en/latest/library/ffi.html uctypes:MicroPython的“外部数据”接口。用C语言的表达能力访问二进制数据结构。通常一起使用的“ ffi”和“ uctypes”模块。地址:https://pycopy.readthedocs.io/en/latest/library/uctypes.html jni:JavaVM集成模块(使用JNI)。地址:https://githu...
In micropython-lib, we also have the concept of anextension packagewhich is a library package that extends the functionality of another package, by adding additional files to the same package directory. These packages have hyphenated names. For example, thecollections-defaultdictpackage extends thecoll...
STM32 Cube library - CMSIS and HAL for F4, F7 and L4 microcontrollers C637410UpdatedMay 16, 2025 alif-security-toolkitPublic Alif Security Toolkit Python1101UpdatedMar 27, 2025 micropython-esp32-ulpPublic ESP32 ULP Co-Processor toolchain implemented in MicroPython ...
MicroPython is a lean and efficient implementation of thePython 3programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. MicroPython is packed full of advanced features such as an interactive prompt, ...
A MicroPython library providing APIs to interact with Beacons, for ESP32 以个人理解介绍一些和Beacon相关的知识,尽量不误导 蓝牙设备的角色定义 Broadcaster Role (Advertiser):蓝牙设备想要被其它设备发现并使用,第一步就是要作为Advertiser(广播员角色,广告商,基站等等)进行数据广播,将自己的名字、MAC 地址、包含...
https://docs.micropython.org/en/latest/library/index.html#python-standard-libraries-and-micro-libraries 先放一下文档的地址,我们看源码是一方面 读这份官方的文档是另一方面 按照顺序,一开始就是标准的微库,这里的意思是说所有的板子都可以使用 但是嵌入式这种东西,也难免资源的原因不可能全部给你支持: ...
BASICS OF UART COMMUNICATION:http://www.circuitbasics.com/basics-uart-communication/ 波特率 - 百度百科:https://baike.baidu.com/item/波特率 MicroPython documentation:https://docs.micropython.org/en/latest/library/machine.UART.html
返回二进制值(0-1)对应的灰度值(0-255)。image.binary_to_rgb(binary_image_value: 0 | 1) → Tuple[int, int, int]¶ 返回二进制值(0-1)对应的RGB888格式的元组(r, g, b)。image.binary_to_lab(binary_image_value: 0 | 1) → Tuple[int, int, int]¶ 返回二进制值(0-1)对应的LAB...
克隆/下载 git config --global user.name userName git config --global user.email userEmail 分支6 标签8 Damien GeorgeRevert "README: Add note that repository i...b89114c6年前 1266 次提交 __future__ all: setup.py: Switch to sdist_upip. ...