MicroPython、microbit、makecode等
最新动态
收不到激活邮件的说明
由
shaoziyang »
2024年 2月 3日 16:27
» 位于
社区公告
有网友反映注册账号后一直收不到激活邮件,无法激活账号和登陆。因为社区的邮件服务器在阿里云,可能对腾讯和网易邮箱不太友好。如果遇到这个问题,大家可以给管理员发邮件,附上用户名和邮箱,管理员会帮助激活账号。
shaoziyang@mail.micropython.org.cn
0 回复总数
781 阅读次数
最新文章 由 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 回复总数
37118 阅读次数
最新文章 由 shaoziyang
2019年 10月 25日 15:51
最新更新中优化了neopixel驱动
回复总数: 2
由
shaoziyang »
2021年 9月 1日 11:01
最近的更新中,减少了neopixel的代码大小,优化fill()速度。
drivers/neopixel: Reduce code size of driver.
drivers/neopixel: Optimize fill() for speed.
2 回复总数
1027 阅读次数
最新文章 由 shaoziyang
2021年 9月 1日 20:52
改进对 LEGO HUB No.6 支持
由
shaoziyang »
2021年 9月 1日 11:11
最新更新中,改进对 LEGO HUB No.6 支持
stm32/boards/LEGO_HUB_NO6: Add make commands to backup/restore firmware.
stm32/boards/LEGO_HUB_NO6: Skip first 1MiB of SPI flash for storage.
stm32/boards/LEGO_HUB_NO6: Change SPI flash storage to use hardware SPI.
0 回复总数
786 阅读次数
最新文章 由 shaoziyang
2021年 9月 1日 11:11
micropython更新:2021.8
回复总数: 6
由
shaoziyang »
2021年 8月 3日 15:54
2021年8月更新
rp2/boards: Add Pimoroni Tiny 2040.
rp2/boards: Add Pimoroni Pico LiPo 16MB.
rp2/boards: Add Pimoroni Pico LiPo 4MB.
rp2/boards: Add Adafruit QT Py RP2040.
rp2/boards: Add Adafruit ItsyBitsy RP2040.
rp2/boards/SPARKFUN_THINGPLUS: Configure I2C/SPI default pins.
rp2/boards/SPARKFUN_PROMICRO: Configure UART/I2C/SPI default pins....
6 回复总数
3354 阅读次数
最新文章 由 shaoziyang
2021年 9月 1日 10:39
CircuitPython 7.0.0 Beta 0 发布
由
shaoziyang »
2021年 8月 24日 19:19
这是 CircuitPython 7.0.0-beta.0 , CircuitPython 7.0.0 的初始测试版。它相对稳定,但包含 7.0.0 仍有待解决的问题。
Notable additions to 7.0.0 since 6.3.0 include:
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...
0 回复总数
891 阅读次数
最新文章 由 shaoziyang
2021年 8月 24日 19:19
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 回复总数
976 阅读次数
最新文章 由 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 回复总数
850 阅读次数
最新文章 由 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 回复总数
759 阅读次数
最新文章 由 shaoziyang
2021年 8月 15日 09:38
0 回复总数
846 阅读次数
最新文章 由 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 回复总数
3442 阅读次数
最新文章 由 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 回复总数
943 阅读次数
最新文章 由 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 回复总数
921 阅读次数
最新文章 由 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 回复总数
1250 阅读次数
最新文章 由 shaoziyang
2021年 7月 6日 19:39
0 回复总数
844 阅读次数
最新文章 由 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 回复总数
3328 阅读次数
最新文章 由 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 回复总数
1111 阅读次数
最新文章 由 shaoziyang
2021年 6月 19日 12:27
0 回复总数
763 阅读次数
最新文章 由 shaoziyang
2021年 6月 18日 21:42
0 回复总数
950 阅读次数
最新文章 由 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 回复总数
1115 阅读次数
最新文章 由 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 回复总数
852 阅读次数
最新文章 由 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 回复总数
971 阅读次数
最新文章 由 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 回复总数
3687 阅读次数
最新文章 由 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 回复总数
2489 阅读次数
最新文章 由 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 回复总数
946 阅读次数
最新文章 由 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 回复总数
974 阅读次数
最新文章 由 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 回复总数
977 阅读次数
最新文章 由 shaoziyang
2021年 4月 26日 22:10
论坛权限
您 不能 在这个版面发表主题 您 不能 在这个版面回复主题 您 不能 在这个版面编辑帖子 您 不能 在这个版面删除帖子 您 不能 在这个版面提交附件