导入模块时,MicroPython将代码编译为字节码,然后由MicroPython虚拟机(VM)执行字节码。字节码存储在RAM中。编译器本身需要RAM,但其在编译完成后才可用。 若已导入多个模块,则在没有足够的RAM来运行编译器时,会出现这种情况。在这种情况下,导入语句将引发 ...
前面我们分享了micropython的移植,至此还只有一些内置的模块,我们现在开始就来移植平台相关的模块,先以最简单IO驱动LED为例。 #define MICROPY_PY_CMATH (1) #define MICROPY_PY_BUILTINS_FLOAT (1) #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE) ...
Last time, I talked about how MicroPython is powerful and deserving of a place in your toolkit, and it made for a lively discussion. I’m glad to see that overall, MicroPython has indeed been getting ...
I have been meaning to play around with MQTT for some time now, and finally decided to take the plunge one evening last week. I had three cheap home temperature and humidity sensors, and was bothered ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果