查甲亢挂什么科| 梦见自己娶媳妇是什么意思| 皮赘是什么原因引起的| 问加一笔是什么字| 甲亢是什么原因| 泮是什么意思| fhr是什么意思| 油漆味对人有什么危害| 指控是什么意思| 钙是什么| 扁桃体挂什么科| 很会放屁是什么原因| ct什么意思| 老头疼是什么原因导致的| 浅笑嫣然是什么意思| 一棵树是什么品牌| 孕妇梦见下雪是什么征兆| 上飞机不能带什么| 脚脱皮什么原因| 刘备儿子叫什么| 沙拉酱是用什么做的| 牙齿矫正挂什么科| 阴道发臭是什么原因| 什么是eb病毒| 蒟蒻是什么东西| 鱼龙是什么| 山楂什么时候成熟| headache什么意思| tritan是什么材质| 性交是什么感觉| 金为什么克木| 妇炎康片主要治什么妇科病| 为什么会得肠梗阻| 男生为什么喜欢摸胸| 96年属鼠的是什么命| 说女人强势是什么意思| 庚日是什么意思啊| 季付是什么意思| 世界上最多笔画的字是什么| 知否知否应是绿肥红瘦什么意思| 祖马龙香水什么档次| 辅酶q10的作用是什么| 老人过生日送什么礼物好| 妈妈的爱是什么| 老年人补什么钙效果最好| 唇红齿白是什么生肖| 皮肤为什么会变黑| 名媛是什么意思| 楔形是什么形状图片| 男人说冷静一段时间是什么意思| 检车需要什么手续| 痛风吃什么药最有效| 试商是什么意思| 人中黄是什么| 尿hcg阴性是什么意思| kinghome是什么牌子| 杨桃是什么季节的水果| 优生优育是什么意思| 飞行员妻子有什么待遇| 癫痫挂什么科| 大电念什么| 公务员是干什么的| 什么人容易得多囊卵巢| 脚崴了用什么药| 心理医生挂什么科| 出身是什么意思| 什么叫红肉| 硬度不够吃什么药调理| 吃什么对肝脏有好处能养肝| head是什么牌子| 为什么脚臭叫香港脚| eligible是什么意思| 九月二十号是什么星座| 中度肠化是什么意思| 跑水是什么意思| 眼睛长麦粒肿用什么药| 扶苏是什么意思| 红颜知己的意思是什么| 茯苓的作用是什么| 晚上睡觉口干是什么原因| 姑妈的老公叫什么| 眼白发黄是什么原因| 双相是什么意思| 玉仁玫白膏有什么功效| 胃烧灼感是什么原因| 进国企需要什么条件| 丝瓜络有什么作用| 胆结石忌吃什么| 温煦是什么意思| 落选是什么意思| 什么是黑色星期五| 舌头有红点是什么原因| 灰指甲是什么样子的| 做包皮手术挂什么科| 两个圈的皮带是什么牌子| 天狼星在什么位置| 女人做春梦预示着什么| 黑脸代表什么| 白麝香是什么味道| 破冰是什么意思| 艾滋病中期有什么症状| 骨髓水肿是什么意思| coach是什么牌子的包| 男属鸡的和什么属相最配| 亥和什么合| 感冒流鼻涕吃什么药好得快| 大小三阳是什么病| 身上长癣是什么原因| fda是什么意思| 尿道炎用什么药治疗| 乾是什么生肖| 一边什么一边什么| 手淫过度有什么症状| 上火便秘吃什么药| 乙肝两对半是什么意思| 下面潮湿是什么原因引起的| 人流后吃什么水果| 血友病是什么| 核桃什么时候吃最好| 血脂高吃什么药好| 忧郁是什么意思| 关节疼痛挂什么科| 为什么孕酮会低| 帽子戏法是什么意思| 女性喝什么茶最好| 膻是什么意思| 是什么星座| 鸡肉炖什么好吃| 学前班是什么意思| 尿痛挂什么科| 梦见桥塌了有什么预兆| 梦见枪毙人是什么意思| 痰湿中阻吃什么中成药| 孱弱是什么意思| fasola是什么品牌| 3e是什么意思| 慎用是什么意思| 肌肉拉伤看什么科室| 金牛座女和什么座最配对| 6合是什么生肖| 西安香烟有什么牌子| 小孩便秘有什么办法| 弱水三千什么意思| 作风问题的核心是什么| 煮黑豆吃有什么功效| 6月29日什么星座| 早上六点半是什么时辰| 酒糟是什么东西| 结肠炎吃什么药治疗效果好| lpp什么意思| 目赤肿痛吃什么药最好| veromoda是什么牌子| 玫瑰糠疹什么原因引起的| 丑时是什么时间| 蚕长什么样| 梦见苍蝇很多是什么意思| 头晕想睡觉是什么原因| 梦见女儿哭意味着什么| 扁桃体发炎是什么原因引起的| 摩拳擦掌是什么生肖| 癫痫属于什么科| 荣耀是什么品牌| 中性粒细胞绝对值高是什么原因| 什么水果是凉性的| 伏笔是什么意思| 大便黑绿色是什么原因| 刮痧和拔罐有什么区别| hp是什么意思| 子宫腺肌症是什么原因引起的| 早晨起床口干口苦是什么原因| 化疗和靶向有什么区别| 黄瓜为什么会苦| 红眼鱼是什么鱼| 儿童口腔疱疹吃什么药| 阁下是什么意思| 献血有什么坏处| 着凉吃什么药| 羟丁酸脱氢酶高是什么原因| 月经前一周失眠是什么原因| 长期熬夜会得什么病| 基础代谢是什么| ph是什么| 动脉硬化挂什么科| 去医院看膝盖挂什么科| 治疗幽门螺杆菌用什么药效果最好| 为什么一分钟就出来了| 气血不通吃什么药| 私生是什么意思| 小孩什么时候说话| 什么快递比较快| 中蛊的人有什么症状| 茹字五行属什么| 马齿苋长什么样| 狗狗肠胃炎吃什么药| 缺钾最明显的症状是什么| 教师资格证有什么用| 颈椎压迫神经吃什么药| 全血是什么| 龙配什么生肖最好| 醋加小苏打有什么作用| 店铺开业送什么礼物好| 流萤是什么意思| 什么的事物| 昏睡是什么症状| 文房四宝是什么| 嘴角疱疹用什么药膏| 蚕蛾吃什么| 农历五月二十一是什么星座| 养肝护肝吃什么食物| 退化是什么意思| 03年是什么命| 什么是心理健康| 肋骨下面是什么器官| 兴奋是什么意思| 子宫内膜囊性增生是什么意思| 褥疮用什么药最好| 红楼梦为什么是四大名著之首| 闭口是什么样子| 定投是什么意思| 半什么三什么| 丑指什么生肖| 肝硬化是什么| 代用茶是什么意思| 大葱炒什么好吃| 净空是什么意思| 心率快是什么原因| 女性割礼是什么| 高考300分能上什么大学| 太瘦的人吃什么能长胖| 木薯淀粉是什么做的| 蒜苗炒什么好吃| 为什么不建议吃三代头孢| 孕酮低吃什么补得快| 水生木是什么意思| 尿毒清颗粒主治什么病| 心脏属于什么组织| 缺钾最明显的症状是什么| 什么牌子的洗衣机最好| 鱼吃什么食物| 摔跤擦伤破皮擦什么药| 中性粒细胞偏高是什么原因| 长期失眠应该吃什么药| 什么手机拍照好看| 向日葵的花语是什么| 藕粉色是什么颜色| 真菌孢子是什么意思| 易激惹是什么意思| 喜闻乐见什么意思| 女人性冷淡吃什么药效果好| 师团长是什么级别| 感染性疾病科看什么病| 仓鼠和老鼠有什么区别| 三线炎有什么症状| 血小板高是什么问题| 双一流大学是什么意思| 梦见自己小便是什么意思| 查询电话号码拨打什么| 百香果有什么作用| 他说风雨中这点痛算什么| 扁桃体是什么样子图片| 叶酸基因检测是什么| vdo是什么牌子| 结肠炎吃什么药治疗效果好| 微字五行属什么| 百度

MicroPython

MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments.

The MicroPython pyboard is a compact electronic circuit board that runs MicroPython on the bare metal, giving you a low-level Python operating system that can be used to control all kinds of electronic projects.

MicroPython is packed full of advanced features such as an interactive prompt, arbitrary precision integers, closures, list comprehension, generators, exception handling and more. Yet it is compact enough to fit and run within just 256k of code space and 16k of RAM.

MicroPython aims to be as compatible with normal Python as possible to allow you to transfer code with ease from the desktop to a microcontroller or embedded system.

Proper Python with hardware-specific modules

MicroPython is a full Python compiler and runtime that runs on the bare-metal. You get an interactive prompt (the REPL) to execute commands immediately, along with the ability to run and import scripts from the built-in filesystem. The REPL has history, tab completion, auto-indent and paste mode for a great user experience.

MicroPython strives to be as compatible as possible with normal Python (known as CPython) so that if you know Python you already know MicroPython. On the other hand, the more you learn about MicroPython the better you become at Python.

In addition to implementing a selection of core Python libraries, MicroPython includes modules such as "machine" for accessing low-level hardware.

The pyboard

The pyboard is the official MicroPython microcontroller board with full support for software features. The hardware has:
  • STM32F405RG microcontroller
  • 168 MHz Cortex M4 CPU with hardware floating point
  • 1024KiB flash ROM and 192KiB RAM
  • Micro USB connector for power and serial communication
  • Micro SD card slot, supporting standard and high capacity SD cards
  • 3-axis accelerometer (MMA7660)
  • Real time clock with optional battery backup
  • 24 GPIO on left and right edges and 5 GPIO on bottom row, plus LED and switch GPIO available on bottom row
  • 3x 12-bit analog to digital converters, available on 16 pins, 4 with analog ground shielding
  • 2x 12-bit digital to analog (DAC) converters, available on pins X5 and X6
  • 4 LEDs (red, green, yellow and blue)
  • 1 reset and 1 user switch
  • On-board 3.3V LDO voltage regulator, capable of supplying up to 250mA, input voltage range 3.6V to 16V
  • DFU bootloader in ROM for easy upgrading of firmware

Watch MicroPython in action

Completely free, open source software

MicroPython is open-source

MicroPython is written in C99 and the entire MicroPython core is available for general use under the very liberal MIT license. Most libraries and extension modules (some of which are from a third party) are also available under MIT or similar licenses.

You can freely use and adapt MicroPython for personal use, in education, and in commercial products.

MicroPython is developed in the open on GitHub and the source code is available at the GitHub page, and on the download page. Everyone is welcome to contribute to the project.

Code: state-of-the-art and highly robust

MicroPython employs many advanced coding techniques, and lots of tricks to maintain a compact size while still having a full set of features.

Some of the more notable items are:

  • highly configurable due to many compile-time configuration options
  • support for many architectures (x86, x86-64, ARM, ARM Thumb, Xtensa)
  • extensive test suite with over 590 tests, and more than 18,500 individual testcases
  • code coverage at 99.2% for the core and at 98.5% for the core plus extended modules
  • fast start-up time from boot to loading of first script (150 microseconds to get to boot.py, on PYBv1.1 running at 168MHz)
  • a simple, fast and robust mark-sweep garbage collector for heap memory
  • a MemoryError exception is raised if the heap is exhausted
  • a RuntimeError exception is raised if the stack limit is reached
  • support for running Python code on a hard interrupt with minimal latency
  • errors have a backtrace and report the line number of the source code
  • constant folding in the parser/compiler
  • pointer tagging to fit small integers, strings and objects in a machine word
  • transparent transition from small integers to big integers
  • support for 64-bit NaN boxing object model
  • support for 30-bit stuffed floats, which don't require heap memory
  • a cross-compiler and frozen bytecode, to have pre-compiled scripts that don't take any RAM (except for any dynamic objects they create)
  • multithreading via the "_thread" module, with an optional global-interpreter-lock (still work in progress, only available on selected ports)
  • a native emitter that targets machine code directly rather than the bytecode virtual machine
  • inline assembler (currently Thumb and Xtensa instruction sets only)

Online resources

You can learn more about MicroPython and keep up-to-date with developments via the following resources:
牙龈肿胀什么原因 咳嗽发烧是什么原因 心穷是什么意思 为什么一喝酒就拉肚子 李姓男孩起什么名字好
plg是什么意思 你的名字讲的什么故事 吃什么子宫肌瘤会消除 裂隙灯能查出什么眼病 色字头上一把刀什么意思
17年是什么年 卵巢黄体是什么意思 黄褐斑内调吃什么中药 黑咖啡为什么能减肥 4月什么星座
1114是什么星座 什么是局限性肺纤维化 仁慈是什么意思 嫡传弟子是什么意思 儿童超敏c反应蛋白高说明什么
正山小种属于什么茶类hcv7jop4ns8r.cn 大红袍属于什么档次hcv7jop7ns0r.cn 心脏缺血吃什么补得快baiqunet.com 北京是我国的什么中心hcv8jop2ns2r.cn 黄桃什么时候上市hcv8jop2ns3r.cn
上腹部饱胀是什么原因mmeoe.com 大致正常心电图是什么意思hcv8jop1ns2r.cn 股癣用什么药膏好得快hcv7jop6ns3r.cn 多多益善的益是什么意思xinmaowt.com 肛门里面有个肉疙瘩是什么hcv8jop8ns4r.cn
重返20岁韩国版叫什么hcv7jop6ns5r.cn 红眼病用什么药sscsqa.com 减肥什么东西不能吃hcv8jop6ns2r.cn 一穷二白什么意思hcv8jop1ns6r.cn 腹腔淋巴结是什么意思hcv8jop1ns5r.cn
poison是什么意思hcv7jop7ns4r.cn 黑蝴蝶代表什么chuanglingweilai.com 粉是什么做的hcv8jop7ns7r.cn 夏天用什么护肤品比较好hcv8jop7ns0r.cn 财神是什么生肖hcv8jop8ns4r.cn
百度