MicroPython、microbit、makecode等
最新动态
收不到激活邮件的说明
由
shaoziyang »
2024年 2月 3日 16:27
» 位于
社区公告
有网友反映注册账号后一直收不到激活邮件,无法激活账号和登陆。因为社区的邮件服务器在阿里云,可能对腾讯和网易邮箱不太友好。如果遇到这个问题,大家可以给管理员发邮件,附上用户名和邮箱,管理员会帮助激活账号。
shaoziyang@mail.micropython.org.cn
0 回复总数
627 阅读次数
最新文章 由 shaoziyang
2024年 2月 3日 16:27
社区资源
由
shaoziyang »
2019年 10月 25日 15:51
» 位于
参考资料
中文教程
pybCN
MicroPython固件
MicroPython例程
microbit驱动库
micropython驱动库
makecode扩展
MakeCode Arcade 游戏合辑
趣味程序
性能测试对比
社区网盘 ( 暂停使用 )
知识库
Joplin 真正便携版
个人随身网盘 KodStick
注
gitee上的更新可能晚于github
...
0 回复总数
33763 阅读次数
最新文章 由 shaoziyang
2019年 10月 25日 15:51
micropython 使用新的 neopixel 驱动
由
shaoziyang »
2021年 8月 22日 09:58
在最新的更新中,micropython 用 machine.bitstream 取代了旧 neopixel 驱动,STM32 上也可以用普通 GPIO 驱动 WS2812 了。。
drivers/neopixel: Add common machine.bitstream-based neopixel module.
esp8266: Replace esp.neopixel with machine.bitstream.
esp32: Replace esp.neopixel with machine.bitstream.
stm32: Add implementation of machine.bitstream.
extmod: Add...
0 回复总数
915 阅读次数
最新文章 由 shaoziyang
2021年 8月 22日 09:58
CircuitPython 7.0.0 Alpha 6 发布
由
shaoziyang »
2021年 8月 19日 16:40
自 6.3.0 版以来的主要改进:
Support for the CircuitPython development workflow over BLE.
Camera support on ESP32S2.
qrio : QR code decoding.
The keypad key-scanning module.
Run-time customization of USB devices.
Merging in of MicroPython fixes and enhancements as of MicroPython 1.16.
_pixelbuf is now adafruit_pixelbuf .
colorwheel() routine moved to...
0 回复总数
789 阅读次数
最新文章 由 shaoziyang
2021年 8月 19日 16:40
mpy 实现部分 PEP-498(f-string)支持
由
shaoziyang »
2021年 8月 15日 09:38
在最新的一次更新( py: Implement partial PEP-498 (f-string) support. ),实现了大部分PEP-498规范f-strings。
在词法分析器中实现为`str.format` 的语法转换:
f {a} --> {} .format(a)
它还支持:
f {a=} --> a={} .format(a)
这是通过将参数提取到临时 vstr 缓冲区中来完成的,然后在字符串被标记化后,词法分析器输入队列被保存并将临时 vstr 缓冲区的内容注入词法分析器。
主要有四个限制:
不支持原始 f-strings(`fr` 或 `rf` 前缀)并且会引发 `SyntaxError: raw f-strings are not supported` 异常。...
0 回复总数
713 阅读次数
最新文章 由 shaoziyang
2021年 8月 15日 09:38
0 回复总数
794 阅读次数
最新文章 由 shaoziyang
2021年 8月 6日 13:32
micropython更新:2021.7
回复总数: 6
由
shaoziyang »
2021年 7月 1日 18:29
docs/library: Document new esp32.RMT features and fix wait_done.
esp32/esp32_rmt: Enhance RMT with idle_level and write_pulses modes.
py/objexcept: Pretty print OSError also when it has 2 arguments.
tools/pyboard.py: Add cmd-line option to make soft reset configurable.
tools/autobuild: Add mimxrt port to build scripts for nightly builds. ...
6 回复总数
3202 阅读次数
最新文章 由 shaoziyang
2021年 7月 30日 21:35
CircuitPython 7.0.0 Alpha 5 发布
由
shaoziyang »
2021年 7月 22日 21:35
自 7.0.0 Alpha 4 版的变化:FIXES AND ENHANCEMENTS
Fix timing issue with . #5031. Thanks @dhalbert. keypad.KeyMatrix
Disable blue-blink pairing delay on reset on non-BLE workflowboards. #5024. Thanks @tannewt.
Update frozen libraries. #5022. Thanks @dhalbert.
Add . #4925. Thanks @microDev1. microcontroller.RunMode.UF2
Fix memory error in OnDiskBitmap....
0 回复总数
838 阅读次数
最新文章 由 shaoziyang
2021年 7月 22日 21:35
CircuitPython 7.0.0 Alpha 4 发布
由
shaoziyang »
2021年 7月 9日 14:12
来自adafruit官方博客
这是CircuitPython7.0.0-alpha.4版本。它是相对稳定,但是包含了一些7.0.0版需要解决的问题。它呈现的python api可能会改变。
自6.3.0以来,7.0.0的显著增加包括:
通过BLE支持CircuitPython开发工作流。
支持ESP32S2摄像头。
按键扫描模块.keypad
USB设备的运行时自定义。
从micropython1.16开始,合并MicroPython的修复和增强。
简化RGB状态的LED代码。
修正部分RP2040板的时钟。
0 回复总数
847 阅读次数
最新文章 由 shaoziyang
2021年 7月 9日 14:12
esp32,stm32: 添加 machine.I2S 支持 I2S 协议
由
shaoziyang »
2021年 7月 6日 19:39
在最近的更新中,micropython添加了对 I2S的支持 。
Add new machine.I2S class for I2S protocol support.This commit adds I2S protocol support for the esp32 and stm32 ports, via a new machine.I2S class. It builds on the stm32 work of blmorris, #1361 .
Features include:
a consistent I2S API across the esp32 and stm32 ports
I2S configurations supported:
master transmit...
0 回复总数
1176 阅读次数
最新文章 由 shaoziyang
2021年 7月 6日 19:39
0 回复总数
785 阅读次数
最新文章 由 shaoziyang
2021年 7月 2日 17:41
micropython更新:2021.6
回复总数: 7
由
shaoziyang »
2021年 6月 4日 15:04
esp32/Makefile: Fix wrong target for partition-table.bin.
mimxrt/boards: Add board configuration files for Teensy 4.1.
mimxrt/machine_adc: Add the ADC class to the machine module.
mimxrt: Enable many Python and some extmod features.
mimxrt: Add floating point support.
mimxrt/machine_rtc: Add the RTC class to the machine module. ...
7 回复总数
3017 阅读次数
最新文章 由 shaoziyang
2021年 6月 28日 21:40
micropython 发布 1.16 版
回复总数: 1
由
shaoziyang »
2021年 6月 19日 12:26
MicroPython的这个版本包括一个新的命令行工具“mpremote”,它是从命令行远程控制基于MicroPython的设备的主要方式。它具有串行终端、文件系统访问、支持在远程设备上挂载本地目录以及定义自定义命令的宏语言。这个工具可以通过“pip3 install mpremote”从PyPI安装,它可以在Linux、Windows和Mac上运行。作为其中的一部分,对pyboard.py进行了改进,包括用独占模式打开串行端口,以便更轻松地管理多个设备。...
1 回复总数
1015 阅读次数
最新文章 由 shaoziyang
2021年 6月 19日 12:27
0 回复总数
682 阅读次数
最新文章 由 shaoziyang
2021年 6月 18日 21:42
0 回复总数
873 阅读次数
最新文章 由 shaoziyang
2021年 6月 9日 23:00
CircuitPython 7.0.0 alpha3 版本发布
由
shaoziyang »
2021年 6月 4日 15:28
CircuitPython 7.0.0 的阿尔法版本3已经发布。它相对稳定,但包含一些问题仍有待解决,Python API 可能会改变。
7.0.0 版本的显著增加包括 USB 设备的运行时间定制、microPython 修复程序的合并以及 MicroPython 1.15 的增强功能、简化 RGB 状态 LED 代码以及用于几个 RP2040 板样本的时钟修复。
自 6.3.0 以来的变化完整的提交日志 在这里 。
修复和增强
Fix to work with longint 0. #4845. Thanks @t-ikegami. .bit_length()
Update frozen libraries. #4843. Thanks @dhalbert.
Merge in...
0 回复总数
1063 阅读次数
最新文章 由 shaoziyang
2021年 6月 4日 15:28
CircuitPython 6.3.0 发布
由
shaoziyang »
2021年 6月 3日 08:46
修复和增强
修复的覆盖#4708
更新冻结库。
在软复位时不保持锁定
修复ulab中的GC问题。
移植和开发板更改
在许多Adafruit板上加上引脚
修正UM TinyS2的引脚
BDMicro VINA-D51更新
QT Py RP2040引脚校正
STM32F4 Black Pill添加闪存芯片
重新打开NeoPixel Trinkey的存储、
将pin添加到Pi Pico
修复Feather M0的引脚
Adafruit ItsyBitsy RP2040修正
修复Espruino Pico的晶体设置
修复SparkFun Pro Micro RP2040引脚
在Big Honking按钮上释放PA00和PA01
确定FunHouse 名称...
0 回复总数
821 阅读次数
最新文章 由 shaoziyang
2021年 6月 3日 08:46
Raspberry Pi开售RP2040微控制器芯片 售价1美元
回复总数: 1
由
shaoziyang »
2021年 6月 1日 21:22
转自:
RPI 官方博客新闻
今年早些时候,Raspberry Pi基金会宣布推出4美元的Raspberry Pi Pico和RP2040微控制器用于嵌入式开发。现在,RP2040芯片正在通过他们的经销商以仅1美元的价格出售,供那些想用这种树莓派芯片构建自己的电子产品的人使用。
1美元的RP2040芯片包含两个133MHz的ARM Cortex-M0+内核,可以运行FreeRTOS和MicroPython等软件。除了这两个嵌入式内核外,还自带264KB的内存和对这种类型的控制器的所有常见I/O接口的支持。
树莓派基金会宣布,他们今年已经运送了超过60万块Raspberry Pi...
1 回复总数
938 阅读次数
最新文章 由 shaoziyang
2021年 6月 1日 21:28
micropython更新:2021.5
回复总数: 8
由
shaoziyang »
2021年 5月 4日 22:06
2021年5月更新
docs/pyboard: Fix typo in pyb.Switch tutorial.
docs: Fix some spelling mistakes.
gitignore: Ignore macOS desktop metadata files.
stm32/boards: Change default LSI_VALUE to 32000 for F4 MCUs.
docs/esp8266: Clarify limitations of SSL in esp8266 and fix typos.
docs/esp8266: Add instructions on entering programming mode manually. ...
8 回复总数
3429 阅读次数
最新文章 由 shaoziyang
2021年 5月 30日 20:18
micropython更新:2021.4
回复总数: 6
由
shaoziyang »
2021年 4月 7日 16:30
2021年4月更新
stm32/boards/pllvalues.py: Relax PLLQ constraints on STM32F413 MCUs.
stm32/powerctrl: Support using PLLI2C on STM32F413 as USB clock source.
stm32/powerctrl: Allow a board to configure AHB and APB clock dividers.
unix: Improve command line argument processing.
rp2: Import uarray instead of array in rp2 module.
extmod/re1.5:...
6 回复总数
2363 阅读次数
最新文章 由 shaoziyang
2021年 4月 30日 23:24
微软宣布已成为Python软件基金会的愿景赞助商
由
shaoziyang »
2021年 4月 30日 22:44
转自:
自2006年以来,微软一直是Python软件基金会的赞助商之一。今天,微软宣布,它将进一步增加对PSF的捐款,成为远景赞助商。作为对PSF的15万美元财政赞助的一部分,微软将把资金集中到打包工作组,以帮助进一步改进PyPI和支持打包生态系统的开发费用。
在过去5年中,Python的迅速崛起是有据可查的,令人印象深刻。Python的崛起主要是由数据科学的发展推动的,并得益于其在脚本、网络开发、教育领域的长期应用,以及对语言的生产力和易用性的谨慎平衡。微软Python和人工智能工具首席项目经理丹-泰勒(Dan Taylor)写道: Python是一种非常强调开发者生产力的语言,它一直是我们心中的挚爱,与我们的使命紧密相连。
微软声明全文翻译如下:...
0 回复总数
890 阅读次数
最新文章 由 shaoziyang
2021年 4月 30日 22:44
MicroPython时事通信第11期(MicroPython八周年)
由
shaoziyang »
2021年 4月 29日 21:49
原文:
今天是MicroPython的8岁生日!8年前的今天,4月29日写下了第一行代码。
离上一期通讯也过去整整一年了……以下是自那以后发生的主要事情的最新情况。
在过去的12个月中,MicroPython代码:
817次提交(现在总共有12183次提交)
93位贡献者,谢谢大家!
发布了v1.13、v1.14和v1.15版本
MicroPython还增加了以下新特性:
广泛使用的uasyncio模块
改进的蓝牙支持,包括配对/绑定和unix端口上的蓝牙
Raspberry Pi RP2040微控制器的移植
海象运算符“:=”
本机CMake支持,现在支持esp32、rp2和zephyr
REPL的一种新的原始粘贴模式,包括流控制...
0 回复总数
926 阅读次数
最新文章 由 shaoziyang
2021年 4月 29日 21:49
太空中的Adafruit
由
shaoziyang »
2021年 4月 26日 22:10
2021年3月22日,联盟-2号火箭将8个MCP9808集成到最新的UNISAT-7卫星中。UNISAT-7已经在低轨道上,已经收到了来自所有传感器的遥测数据(UNISAT-7现在在550公里的高空有点冷,平均温度约为2°C)。
0 回复总数
918 阅读次数
最新文章 由 shaoziyang
2021年 4月 26日 22:10
micropython升级到v1.15
由
shaoziyang »
2021年 4月 20日 00:16
MicroPython在这个版本中增加了对使用CMake作为构建系统的通用支持。RP2移植被合并以使用新的CMake文件,esp32和zephyr移植已切换为纯CMake项目。这三个移植都有围绕CMake构建的SDK,这一更改使它们更易于维护和使用。
作为这项工作的一部分,基于CMake的移植现在支持用户C模块。用户C模块的作者应该同时提供.mk和.cmake配置文件(遵循文档和示例)。
修复了多精度整数库中的一个错误,即长除法例程中的算术溢出。在此修复之前,某些整数除法将花费大量时间并产生不正确的结果。有关详细信息,请参见提交 0a59938 。此外,还修复了正则表达式,在编译表达式时检查和报告字节溢出错误。参见 172fb52 。...
0 回复总数
973 阅读次数
最新文章 由 shaoziyang
2021年 4月 20日 00:16
python即将支持 switch 功能
回复总数: 1
由
shaoziyang »
2021年 4月 15日 10:49
整理自:
在C语言中用if else和switch语句执行状态处理
python中新增了 match 功能,可以看成是 switch 2.0。
支持模糊匹配
甚至是组合
还可以包括比较
这个功能将在2021 年 10 月 4 日发布 Python 3.10 中启用,或者在 Python 3.10.0a6 测试版中体验。
1 回复总数
891 阅读次数
最新文章 由 oyster
2021年 4月 15日 23:43
CircuitPython 6.2.0 发布了
回复总数: 1
由
shaoziyang »
2021年 4月 6日 10:51
据来自 adafruit博客 消息,CircuitPython 6.2.0 正式发布了。
自6.2.-rc.0以来的变化
修复MacOS上的HID鼠标支持的回归。#4558.谢谢@dhalbert
自 6.1.0 以来的变化请参阅以下版本说明:
6.2.0-rc.0
6.2.0-测试版. 4
6.2.0-测试版. 3
6.2.0-测试版.2
6.2.0-测试版. 1
6.2.0-测试版.0
文档
CircuitPython文档
1 回复总数
923 阅读次数
最新文章 由 oyster
2021年 4月 6日 13:55
0 回复总数
1014 阅读次数
最新文章 由 shaoziyang
2021年 4月 2日 19:50
论坛权限
您 不能 在这个版面发表主题 您 不能 在这个版面回复主题 您 不能 在这个版面编辑帖子 您 不能 在这个版面删除帖子 您 不能 在这个版面提交附件