Jump to content

CircuitPython: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Arranged references with Reference Organizer
Updated stable release to 6.0.0
Line 1: Line 1:
{{Infobox software
{{Infobox software
| name = CircuitPython
| name = CircuitPython
| logo = File:Blinka.png
| logo = File:Blinka.png
| logo size = 200px
| logo size = 200px
| author = Adafruit Industries
| author = Adafruit Industries
| released = {{Start date and age|2017|07|19}}<ref>{{cite web|first1=Scott|last1=Shawcroft|title=CircuitPython 1.0.0!|url=https://blog.adafruit.com/2017/07/19/circuitpython-1-0-0/|website=Adafruit Blog|publisher=Adafruit Industries|accessdate=1 May 2018}}</ref>
| released = {{Start date and age|2017|07|19}}<ref>{{cite web|first1=Scott|last1=Shawcroft|title=CircuitPython 1.0.0!|url=https://blog.adafruit.com/2017/07/19/circuitpython-1-0-0/|website=Adafruit Blog|publisher=Adafruit Industries|accessdate=1 May 2018}}</ref>
| latest release version = 5.1.0
| latest release version = 6.0.0
| latest release date = {{Start date and age|2020|04|07}}<ref>{{cite web|first1=Dan|last1=Halbert|title=CircuitPython 4.1.2 released!|url=https://blog.adafruit.com/2019/12/18/circuitpython-4-1-1-released-adafruit-circuitpython/|website=Adafruit Blog|publisher=Adafruit Industries|accessdate=18 December 2019}}</ref>
| latest release date = {{Start date and age|2020|11|16}}<ref>{{cite web|first1=Dan|last1=Halbert|title=CircuitPython 4.1.2 released!|url=https://blog.adafruit.com/2019/12/18/circuitpython-4-1-1-released-adafruit-circuitpython/|website=Adafruit Blog|publisher=Adafruit Industries|accessdate=18 December 2019}}</ref>
| repo = https://github.com/adafruit/circuitpython
| repo = https://github.com/adafruit/circuitpython
| programming language = [[C (programming language)|C]]<ref name="CP-GitHub" />
| programming language = [[C (programming language)|C]]<ref name="CP-GitHub" />
| platform = microcontroller boards using the Atmel SAMD21, Atmel SAMD51, Nordic nRF52840, and ESP8266 microcontrollers, from Adafruit, SparkFun, Arduino, Particle, and others
| platform = microcontroller boards using the Atmel SAMD21, Atmel SAMD51, Nordic nRF52840, and ESP8266 microcontrollers, from Adafruit, SparkFun, Arduino, Particle, and others
| genre = [[Python (programming language)|Python]] implementation
| genre = [[Python (programming language)|Python]] implementation
| license = [[MIT license]]<ref>{{Cite web|url=https://github.com/adafruit/circuitpython/blob/master/LICENSE/micropython|title=circuitpython/LICENSE|last=George|first=Damien P.|date=4 May 2014|website=[[GitHub]]|access-date=1 May 2018}}</ref>
| license = [[MIT license]]<ref>{{Cite web|url=https://github.com/adafruit/circuitpython/blob/master/LICENSE/micropython|title=circuitpython/LICENSE|last=George|first=Damien P.|date=4 May 2014|website=[[GitHub]]|access-date=1 May 2018}}</ref>
| website = {{URL|https://circuitpython.org/}}
| website = {{URL|https://circuitpython.org/}}
}}
}}
'''CircuitPython'''<ref>{{cite web|url=https://github.com/adafruit/circuitpython|title=CircuitPython is an education friendly open source derivative of MicroPython|accessdate=30 April 2018}}</ref> is an open source derivative of the [[MicroPython]] programming language targeted towards the student and beginner. Development of CircuitPython is supported by [[Adafruit Industries]]. It is a [[software]] implementation of the [[Python (programming language)|Python]] 3 [[programming language]], written in [[C (programming language)|C]].<ref name="CP-GitHub">{{cite web|title=adafruit/circuitpython|url=https://github.com/adafruit/circuitpython|website=[[GitHub]]|publisher=[[Adafruit Industries]]|accessdate=2 May 2018}}</ref> It has been ported to run on several modern [[microcontroller]]s.
'''CircuitPython'''<ref>{{cite web|url=https://github.com/adafruit/circuitpython|title=CircuitPython is an education friendly open source derivative of MicroPython|accessdate=30 April 2018}}</ref> is an open source derivative of the [[MicroPython]] programming language targeted towards the student and beginner. Development of CircuitPython is supported by [[Adafruit Industries]]. It is a [[software]] implementation of the [[Python (programming language)|Python]] 3 [[programming language]], written in [[C (programming language)|C]].<ref name="CP-GitHub">{{cite web|title=adafruit/circuitpython|url=https://github.com/adafruit/circuitpython|website=[[GitHub]]|publisher=[[Adafruit Industries]]|accessdate=2 May 2018}}</ref> It has been ported to run on several modern [[microcontroller]]s.

Revision as of 10:52, 19 November 2020

CircuitPython
Original author(s)Adafruit Industries
Initial releaseJuly 19, 2017; 7 years ago (2017-07-19)[1]
Stable release
6.0.0 / November 16, 2020; 3 years ago (2020-11-16)[2]
Repositoryhttps://github.com/adafruit/circuitpython
Written inC[3]
Platformmicrocontroller boards using the Atmel SAMD21, Atmel SAMD51, Nordic nRF52840, and ESP8266 microcontrollers, from Adafruit, SparkFun, Arduino, Particle, and others
TypPython implementation
LicenseMIT license[4]
Websitecircuitpython.org

CircuitPython[5] is an open source derivative of the MicroPython programming language targeted towards the student and beginner. Development of CircuitPython is supported by Adafruit Industries. It is a software implementation of the Python 3 programming language, written in C.[3] It has been ported to run on several modern microcontrollers.

CircuitPython is a full Python compiler and runtime that runs on the microcontroller hardware. The user is presented with an interactive prompt (the REPL) to execute supported commands immediately. Included are a selection of core Python libraries. CircuitPython includes modules which give the programmer access to the low-level hardware of Adafruit compatible products as well as higher level libraries for beginners.[6]

CircuitPython is a fork of MicroPython, originally created by Damien George.[7] The MicroPython community continues to discuss[8] forks of MicroPython into variants such as CircuitPython.

CircuitPython is targeted to be compliant with CPython, the reference implementation of the Python programming language.[9] Programs written for CircuitPython compatible boards may not run unmodified on other platforms such as the Raspberry Pi.[10]

Usage

CircuitPython is being used as an emerging alternative solution for microcontroller programming, which is usually done with C, C++ or Arduino.[11] The language has also seen uptake in making small, handheld video game devices.[12][better source needed] Developer Chris Young has ported his infrared receive/transmit software to CircuitPython to provide interactivity and to aid those with accessibility issues.[13]

Gemeinschaft

The user community support includes a Discord chat room and product support forums.[14] A Twitter account dedicated to CircuitPython news was established in 2018.[15]

Availability

The current stable version is 5.1.0 with support for the Microchip Technology Atmel SAMD21 and SAMD51 microcontrollers[16] and the Nordic Semiconductor nRF52840 microcontroller. Previous versions supported the ESP8266 microcontroller, but support was dropped in version 4.[17]

References

  1. ^ Shawcroft, Scott. "CircuitPython 1.0.0!". Adafruit Blog. Adafruit Industries. Retrieved 1 May 2018.
  2. ^ Halbert, Dan. "CircuitPython 4.1.2 released!". Adafruit Blog. Adafruit Industries. Retrieved 18 December 2019.
  3. ^ a b "adafruit/circuitpython". GitHub. Adafruit Industries. Retrieved 2 May 2018.
  4. ^ George, Damien P. (4 May 2014). "circuitpython/LICENSE". GitHub. Retrieved 1 May 2018.
  5. ^ "CircuitPython is an education friendly open source derivative of MicroPython". Retrieved 30 April 2018.
  6. ^ "CircuitPython". Read the Docs. Adafruit Industries. Retrieved 1 May 2018.
  7. ^ George, Damien (20 May 2016). "Damien P. George". Damien P. George. Retrieved 1 May 2018.
  8. ^ "Adafruit CircuitPython". MicroPython Forum. MicroPython.org. Retrieved 2 May 2018.
  9. ^ Lewis, James. "Circuit Python adds Python to Microcontrollers". The Bald Engineer. Retrieved 2 May 2018.
  10. ^ Ganne, Simon. "Can I use circuitPython code on my raspberry?". Element 14 Community. Element 14.
  11. ^ Cass, Stephen. "Build an Illuminated Halloween Costume With the Wearable Gemma M0 Microcontroller". IEEE Spectrum. IEEE. Retrieved 2 May 2018.
  12. ^ Dopieralski, Radomir. "CircuitPython LAMEBOY". BitBucket. BitBucket. Retrieved 2 May 2018.
  13. ^ Young, Chris (6 June 2018). "Announcing IRLibCP — a Circuit Python Module for Infrared Transmitting and Receiving". CY's Tech Talk. Chris Young. Retrieved 2 May 2018.
  14. ^ "Adafruit CircuitPython and MicroPython". Adafruit Support Forums. Adafruit Industries. Retrieved 1 May 2018.
  15. ^ "CircuitPython". Twitter. Adfafruit Industries. Retrieved 1 May 2018.
  16. ^ Kraft, Caleb. "CircuitPython Snakes its Way onto Adafruit Hardware". Makezine. Maker Media, Inc. Retrieved 2 May 2018.
  17. ^ "Why are we dropping support for ESP8266?". Adafruit.com. Adafruit Industries. Retrieved 15 April 2019.