we are proud to announce the new update of Zerynth!
Zerynth r2.0.11 comes with new supported hardware and a very cool feature.
- Initial support for Pycom boardsPycom WiPy 3.0 and FiPy 1.0, two low-power development boards based on ESP32 by Espressif Systems are now programmable in Python using Zerynth.
Refer to the official docs (WiPy - FiPy) for more info about these cool boards and on how to get started. Note that this is an initial support; all missing features will be released in future updates.
Maybe you're wondering what are the differences between Zerynth and Micropython.
Shortly, let's say that Zerynth is Python even more tuned to micros than MicroPython is A Micro MicroPython :) Refer to this thread for more info: Zerynth Vs Micropython
- Support for Adafruit Feather M0 Wifi
Unlike the other Adafruit boards supported by Zerynth (Adafruit Feather Huzzah and Huzzah32, which are based respectively on ESP8266 and ESP32), this powerful board is based on an ARM microcontroller by Microchip Technology and features the ATWINC1500 Wi-Fi module, a low power network controller. Refer to the doc for more info on how to get started with Zerynth and this cool board.
- Github Integration for Community librariesBased on feedback from many of you we decided it was time to allow you to share your code directly from GitHub and to contribute to the Zerynth Community with your libraries. Zerynth Studio now allows publishing your projects as community libraries that can be installed by everyone else in the Zerynth community.
For more info on how to publish a community library follow this step-by-step tutorial: Publishing Community Libraries. In order for the users of your library to have a better programming experience, we strongly suggest adding examples and documentation. Please refer here for more details. To Search and Install Community Libraries, please refer to this section of the doc.
- Bug fixes and general improvements
- Better stability and an enhanced User Experience
Worldsemi WS2812 RGB LEDs (or NeoPixel in Adafruit parlance) now work with ESP32 and ESP8266! Try this simple code on a Pycom WiPy or FiPy and enjoy!
from worldsemi.ws2812 import ledstrips as neo # create a new Neopixel strip composed of 1 LED and connected to pin D0 leds = neo.LedStrip(D0, 1) while True: leds.set(0,0,0,255) leds.on() # refresh the LEDs colour imposed by the animation sleep(500) leds.set(0,0,255,0) leds.on() sleep(500) leds.set(0,255,0,0) leds.on() sleep(500)
How to update?
Zerynth version r2.0.11 simplifies the package management system and allows to directly publish Zerynth community libraries on Github. However, in order to do so, Zerynth Studio needs to rely on a new version of the Zerynth installer (the small window that pops up before Zerynth Studio starts), which is now faster and more stable.
Sadly, due to permission issues on different platforms, Zerynth Studio can’t automatically update the installer and therefore user intervention is needed. Follow this simple guide to migrate the installer.
Now you need to update all the packages to the version r2.0.11. To do this you have just to:
- open Zerynth Studio;
- click “System Update”;
- click “Update”, restart Zerynth Studio.
Done! You’re ready to enjoy the new features!
As usual, please keep us informed of issues for this update.
Enjoy this new release and happy coding!