コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

CircuitPython

出典: フリー百科事典『ウィキペディア(Wikipedia)』
CircuitPython
作者 Adafruit Industries
初版 2017年7月19日 (7年前) (2017-07-19)[1]
最新版
9.1.4[2] ウィキデータを編集 / 17 9月 2024 3日前
リポジトリ github.com/adafruit/circuitpython
プログラミング
言語
C[3]
プラットフォーム Atmel SAMD21, Atmel SAMD51, Nordic nRF52840, ESP8266を使用したマイコンボード。Adafruit, SparkFun, Arduino, Particle等が提供。
種別 Python 実装
ライセンス MIT license[4]
公式サイト circuitpython.org
テンプレートを表示

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]

脚注

[編集]
  1. ^ CircuitPython 1.0.0!”. Adafruit Blog. Adafruit Industries. 1 May 2018閲覧。
  2. ^ Release 9.1.4” (17 9月 2024). 20 9月 2024閲覧。
  3. ^ a b adafruit/circuitpython”. GitHub. Adafruit Industries. 2 May 2018閲覧。
  4. ^ George, Damien P. (4 May 2014). “circuitpython/LICENSE”. GitHub. 1 May 2018閲覧。
  5. ^ CircuitPython is an education friendly open source derivative of MicroPython”. 30 April 2018閲覧。
  6. ^ CircuitPython”. Read the Docs. Adafruit Industries. 1 May 2018閲覧。
  7. ^ Damien P. George”. Damien P. George (20 May 2016). 1 May 2018閲覧。
  8. ^ Adafruit CircuitPython”. MicroPython Forum. MicroPython.org. 2 May 2018閲覧。
  9. ^ Circuit Python adds Python to Microcontrollers”. The Bald Engineer. 2 May 2018閲覧。
  10. ^ Can I use circuitPython code on my raspberry?”. Element 14 Community. Element 14. 9 Nov 2019閲覧。
  11. ^ Build an Illuminated Halloween Costume With the Wearable Gemma M0 Microcontroller”. IEEE Spectrum. IEEE. 2 May 2018閲覧。
  12. ^ CircuitPython LAMEBOY”. BitBucket. BitBucket. 2 May 2018閲覧。
  13. ^ Announcing IRLibCP — a Circuit Python Module for Infrared Transmitting and Receiving”. CY's Tech Talk. Chris Young (6 June 2018). 2 May 2018閲覧。
  14. ^ Adafruit CircuitPython and MicroPython”. Adafruit Support Forums. Adafruit Industries. 1 May 2018閲覧。
  15. ^ CircuitPython”. Twitter. Adfafruit Industries. 1 May 2018閲覧。
  16. ^ CircuitPython Snakes its Way onto Adafruit Hardware”. Makezine. Maker Media, Inc.. 2 May 2018閲覧。
  17. ^ Why are we dropping support for ESP8266?”. Adafruit.com. Adafruit Industries. 15 April 2019閲覧。

外部リンク

[編集]