下面的标准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 C637410UpdatedJun 14, 2023 mynewt-nimblePublicForked fromapache/mynewt-nimble Apache mynewt People Sponsors View all Sponsoring Top languages CPythonShellJavaScriptEagle
A MicroPython library providing APIs to interact with Beacons, for ESP32相关知识以个人理解介绍一些和Beacon相关的知识,尽量不误导蓝牙设备的角色定义Broadcaster Role (Advertiser):蓝牙设备想要被其它设备发现并使用,第一步就是要作为Advertiser(广播员角色,广告商,基站等等)进行数据广播,将自己的名字、MAC 地址、...
mijia-temphum-upy - MicroPython library to read certain Xiaomi Mijia BLE temperature & humidity sensors. micropython-aioble-itag - Examples using aioble to interact with iTag BLE keychain tags. micropython_aioble_examples - A few aioble (asyncio BLE) examples of MicroPython using ESP32. CAN ...
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
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, ...
https://docs.micropython.org/en/latest/library/index.html#python-standard-libraries-and-micro-libraries 先放一下文档的地址,我们看源码是一方面 读这份官方的文档是另一方面 按照顺序,一开始就是标准的微库,这里的意思是说所有的板子都可以使用 但是嵌入式这种东西,也难免资源的原因不可能全部给你支持: ...
py/ -- the core Python implementation, including compiler, runtime, and core library. mpy-cross/ -- the MicroPython cross-compiler which is used to turn scripts into precompiled bytecode. ports/unix/ -- a version of MicroPython that runs on Unix. ...