CircuitPython
作者 | Adafruit Industries |
---|---|
初版 | 2017年7月19日[1] |
最新版 | 9.2.7[2] ![]() |
リポジトリ | github |
プログラミング 言語 | C[3] |
プラットフォーム | Atmel SAMD21, Atmel SAMD51, Nordic nRF52840, ESP8266を使用したマイコンボード。Adafruit, SparkFun, Arduino, Particle等が提供。 |
種別 | Python 実装 |
ライセンス | MIT license[4] |
公式サイト | circuitpython |
CircuitPython[5]はMicroPythonから派生した、教育および初心者向けのオープンソースのプログラミング言語である。CircuitPythonは、Adafruit Industriesが開発を支援しており、Python 3プログラミング言語のC言語によるソフトウェア実装である。[3] 数種類の現行のマイクロコントローラに移植されている。
CircuitPython はマイコンのハードウェアで動作する完全なPythonコンパイラおよびランタイムである。サポートされたコマンドを即時実行するための対話型プロンプト(REPL)も用意されている。CircuitPython には、Pythonの様々なコア・ライブラリに加え、Adafruitの対応ハードウェア製品への低レイヤアクセスを提供するモジュール群や、初心者向けの高レイヤライブラリが含まれる。[6]
CircuitPythonはDamien Georgeが開発したMicroPython[7]のフォークである。MicroPythonのコミュニティには、CircuitPythonのようなMicroPythonから派生した変種について議論がある。[8]
CircuitPythonはPythonのリファレンス実装であるCPythonに準拠することを目指している。[9] CircuitPython互換ボード用に書かれたプログラムは、Raspberry Piなど他のプラットホームでは修正なしでは動作しない可能性がある。[10]
用途
[編集]CircuitPythonが利用されているのは、従来Arduino開発環境でコーディングされていた用途である。[11][出典無効] 小型の携帯ゲームの開発にも利用されている。[12][信頼性要検証]Chris Youngは、双方向通信の実現およびアクセシビリティの課題解決の一助として、自身の赤外線送受信ソフトウェアをCircuitPythonに移植した。[13]
コミュニティ
[編集]ユーザコミュニティをサポートする、Discordによるチャットルームとプロダクトサポートルームがある。[14] CircuitPython関連ニュース用のTwitterアカウントが2018年に開設された。[15]
提供状況
[編集]現在の安定版は4.0.1で、マイクロチップ・テクノロジーAtmel SAMD21 および SAMD51マイクロコントローラ[16]とノルディック・セミコンダクター nRF52840 マイクロコントローラをサポートする。以前のバージョンではESP8266マイクロコントローラをサポートしていたが、Version 4でサポート対象外となっている。[17]
脚注
[編集]- ^“CircuitPython 1.0.0!”. Adafruit Blog. Adafruit Industries. 2018年5月1日閲覧。
- ^"Release 9.2.7". 1 April 2025. 2025年4月24日閲覧。
- ^ ab“adafruit/circuitpython”. GitHub. Adafruit Industries. 2018年5月2日閲覧。
- ^George, Damien P. (2014年5月4日). “circuitpython/LICENSE”. GitHub. 2018年5月1日閲覧。
- ^“CircuitPython is an education friendly open source derivative of MicroPython”. 2018年4月30日閲覧。
- ^“CircuitPython”. Read the Docs. Adafruit Industries. 2018年5月1日閲覧。
- ^“Damien P. George”. Damien P. George (2016年5月20日). 2018年5月1日閲覧。
- ^“Adafruit CircuitPython”. MicroPython Forum. MicroPython.org. 2018年5月2日閲覧。
- ^“Circuit Python adds Python to Microcontrollers”. The Bald Engineer. 2018年5月2日閲覧。
- ^“Can I use circuitPython code on my raspberry?”. Element 14 Community. Element 14. 2019年11月9日閲覧。
- ^“Build an Illuminated Halloween Costume With the Wearable Gemma M0 Microcontroller”. IEEE Spectrum. IEEE. 2018年5月2日閲覧。
- ^“CircuitPython LAMEBOY”. BitBucket. BitBucket. 2018年5月2日閲覧。
- ^“Announcing IRLibCP — a Circuit Python Module for Infrared Transmitting and Receiving”. CY's Tech Talk. Chris Young (2018年6月6日). 2018年5月2日閲覧。
- ^“Adafruit CircuitPython and MicroPython”. Adafruit Support Forums. Adafruit Industries. 2018年5月1日閲覧。
- ^“CircuitPython”. Twitter. Adfafruit Industries. 2018年5月1日閲覧。
- ^“CircuitPython Snakes its Way onto Adafruit Hardware”. Makezine. Maker Media, Inc.. 2018年5月2日閲覧。
- ^“Why are we dropping support for ESP8266?”. Adafruit.com. Adafruit Industries. 2019年4月15日閲覧。
外部リンク
[編集]- CircuitPython - GitHub
- MicroPython - YouTubeプレイリスト • Tutorials by Tony DiCola / Adafruit