CircuitPython 发布 v4.1.2

MicroPython、microbit、makecode等
最新动态
回复
头像
shaoziyang
帖子: 3950
注册时间: 2019年 10月 21日 13:48

CircuitPython 发布 v4.1.2

#1

帖子 shaoziyang »

图片

在圣诞节来临之际,adafruit 发布了 CircuitPython v4.1.2版本。这是针对 v4.1.0一次小的更新,也可能是5.0版之前最后的更新了,主要更新了 Circuit Playground Express 的frozen library。如果没有使用Circuit Playground Express 或 PyRuler 开发板, 或者没有用到 frozen libraries,那么可以不必更新。


New Fixes and Features since 4.1.0
  • On Circuit Playground Express (CPX) builds, the frozen-in adafruit_circuitplayground library now supports:
    from adafruit_circuitplayground import cp
    in addition to the previous standard import:
    from adafruit_circuitplayground.express import cpx
    This allows uniform library support for the the Circuit Playground Bluefruit (which requires CircuitPython 5.x). The library examples have all been updated to use cp instead of cpx. The names cp and cpx can be used identically: only the import is different. You do not need to change your existing b. Thanks @kattni.
  • The stack size on CPX builds has been increased slightly to accommodate the restructured library. Thanks @dhalbert and @jepler.
  • Other frozen libraries have been updated to their latest versions. Thanks @dhalbert.
  • The PyRuler now displays correct colors on its on-board DotStar RGB LED. Thanks @dhalbert.
  • PWMOut.deinit() on nrf builds was now releases the pin. Thanks @jepler.
  • The library freezing process now makes sure not to include subdirectories of excluded directories. Thanks @jepler.
  • Translated messages are now compressed more effectively, preventing certain translated builds from being too large. Thanks @jepler.

回复

  • 随机主题
    回复总数
    阅读次数
    最新文章