Get a Sneak Peek at CircuitPython 8
Table of Contents
- Introduction
- Circuit Python 8 Overview
- 2.1 API Changes
- 2.2 Title Bar Status
- 2.3 Web Workflow
- 2.4 ESP32 Support
- 2.5 ESP32 Camera Support
- Conclusion
Introduction
In this article, we will explore the exciting features and updates introduced in Circuit Python 8. Circuit Python is a variant of the Python programming language specifically designed for microcontrollers. It provides an easy and beginner-friendly way to program microcontrollers and Create interactive projects. With the release of Circuit Python 8, several new enhancements and improvements have been introduced to make the programming experience even better. From API changes to a new web workflow and expanded board support, there's a lot to discover. So let's dive in and explore the latest updates in Circuit Python 8.
Circuit Python 8 Overview
2.1 API Changes
One of the significant updates in Circuit Python 8 is the introduction of API changes. API breakages are a result of improvements and optimizations made to the language. While these changes may require adjustments to existing code, they aim to enhance the overall functionality and performance of Circuit Python. Some of the API changes in Circuit Python 8 include:
- OneWire module is now a standalone module.
- PulseOut no longer accepts the pulse width amount, instead only taking the Pin as an argument.
- I2C peripheral has been renamed to I2C target.
- Auto brightness feature has been removed.
The complete list of API changes can be found in the release notes of Circuit Python 8.
2.2 Title Bar Status
Another notable update in Circuit Python 8 is the revamped layout of the title bar in the default terminal. The title bar now provides important information about the execution state, version, Wi-Fi status, and BLE status. This enhancement allows for better visibility and control while using Circuit Python.
2.3 Web Workflow
Circuit Python 8 introduces a new web workflow, expanding the ways in which You can Interact with Circuit Python. This workflow enables browsing files and accessing the serial terminal over a web interface. It eliminates the need for a USB connection and provides a more flexible programming experience. With the web workflow, you can edit files, view the serial output, and even host basic web pages directly from your Circuit Python devices. This feature opens up new possibilities for remote programming and debugging of microcontrollers.
2.4 ESP32 Support
Circuit Python 8 brings expanded support for ESP32 microcontrollers. ESP32 is a powerful microcontroller chip widely used in various projects. With Circuit Python 8, you can now easily program ESP32 boards using the new web workflow and take AdVantage of the extensive features offered by ESP32. Whether you're working on IoT projects, robotics, or other applications, the ESP32 support in Circuit Python 8 provides a seamless programming experience.
2.5 ESP32 Camera Support
One of the exciting additions in Circuit Python 8 is the ESP32 camera support. Circuit Python now offers specific module support for the ESP32 camera library. This feature enables developers to leverage the camera capabilities of ESP32 for their projects. With the ESP32 camera support, you can capture images and videos, perform image processing, and create interactive applications that involve visual input. This enhancement expands the possibilities of what you can achieve with Circuit Python and ESP32.
Conclusion
Circuit Python 8 introduces an array of updates and enhancements to make your microcontroller programming experience even more enjoyable. From API changes and improved title bar status to the new web workflow and support for ESP32 and ESP32 cameras, there's something for everyone. Whether you're a beginner or an experienced developer, Circuit Python 8 provides a user-friendly and versatile platform for creating interactive projects. So update your Circuit Python installation, explore the new features, and embark on exciting coding adventures with Circuit Python 8.
Highlights:
- Circuit Python 8 introduces API changes, enhancing the functionality and performance of the language.
- The title bar in the default terminal has been revamped to provide important information at a glance.
- The new web workflow enables browsing files, accessing the serial terminal, and hosting basic web pages directly from Circuit Python devices.
- Expanded support for ESP32 microcontrollers opens up new possibilities for IoT and robotics projects.
- ESP32 camera support allows for capturing images, videos, and performing image processing within Circuit Python.
FAQ:
Q: What are the API changes in Circuit Python 8?
A: Some of the API changes in Circuit Python 8 include the OneWire module becoming a standalone module and the removal of the auto-brightness feature. For a complete list, refer to the release notes.
Q: Can I use Circuit Python 8 without a USB connection?
A: Yes, Circuit Python 8 introduces a web workflow that allows you to browse files, access the serial terminal, and even host basic web pages directly from your Circuit Python devices, eliminating the need for a USB connection.
Q: Does Circuit Python 8 support ESP32 microcontrollers?
A: Yes, Circuit Python 8 brings expanded support for ESP32 microcontrollers. You can now easily program ESP32 boards using the new web workflow and take advantage of the extensive features offered by ESP32.
Resources: