370 lines
14 KiB
HTML
370 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="icon" href="/assets/images/favicon.ico" type="image/x-icon" />
|
|
<meta name="msapplication-TileColor" content="#1a1919">
|
|
<meta name="msapplication-TileImage" content="https://cdn-shop.adafruit.com/static/mstile-144x144.png" />
|
|
<title>CircuitPython</title>
|
|
<meta name="description" content="The easiest way to program microcontrollers" />
|
|
|
|
<!-- Twitter and Open Graph cards -->
|
|
<meta name="twitter:site" content="@circuitpython" />
|
|
<meta property="og:url" content="https://circuitpython.org/" />
|
|
|
|
<meta property="og:title" content="CircuitPython" />
|
|
|
|
|
|
|
|
<meta property="og:description" content="The easiest way to program microcontrollers" />
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
<meta property="og:image" content="https://circuitpython.org/assets/images/CircuitPythonLogo_Black.png" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="/assets/css/main.css">
|
|
<link rel="canonical" href="https://circuitpython.org/">
|
|
<!-- CircuitPython RSS Feed -->
|
|
<link rel="alternate"
|
|
type="application/rss+xml"
|
|
title="CircuitPython news!"
|
|
href="https://blog.adafruit.com/category/circuitpython/feed/"/>
|
|
<link rel="alternate" type="application/rss+xml" title="Latest Boards" href="/feed.rss"/>
|
|
<script src="/assets/javascript/header_mobile.js"></script>
|
|
</head>
|
|
|
|
|
|
<body>
|
|
<header id="site-header">
|
|
|
|
<nav class="top-navigation">
|
|
<div>
|
|
<div class="navigation">
|
|
<a class="skip-link" href="#main-content">Skip to main content</a>
|
|
<a href="/contributing">Contributing</a>
|
|
<a href="https://blog.adafruit.com/category/circuitpython">News</a>
|
|
<a href="/awesome">Awesome</a>
|
|
<a href="https://www.adafruitdaily.com/category/circuitpython">Newsletter</a>
|
|
<a href="https://docs.circuitpython.org/">Documentation</a>
|
|
<a href="https://forums.adafruit.com/viewforum.php?f=60">Forums</a>
|
|
<a href="https://adafru.it/discord" aria-label="Discord"><i class="fab fa-discord"></i> Discord</a>
|
|
<a href="/feed.rss" type="application/rss+xml" aria-label="RSS Feed"><i class="fas fa-rss-square"></i> RSS</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="wrapper">
|
|
<div class="content">
|
|
<nav class="site-brand">
|
|
<div class="site-navigation">
|
|
<a href="/downloads">Downloads</a>
|
|
<a href="/libraries">Libraries</a>
|
|
<a href="/blinka">Blinka</a>
|
|
<a href="https://code.circuitpython.org">Code Editor</a>
|
|
</div>
|
|
<div class="site-logo">
|
|
<a href="/">
|
|
<img src="/assets/images/logo-dark.png"
|
|
srcset="/assets/images/logo-dark.png 1x,
|
|
/assets/images/logo-dark@2x.png 2x,
|
|
/assets/images/logo-dark@3x.png 3x"
|
|
alt="CircuitPython Logo"
|
|
height="60" width="136">
|
|
</a>
|
|
</div>
|
|
<div class="get-started">
|
|
<a href="https://learn.adafruit.com/welcome-to-circuitpython">Get Started</a>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<header id="mobile-header">
|
|
<div class="header-contents">
|
|
<div class="site-logo">
|
|
<a href="/">
|
|
<img src="/assets/images/logo.png"
|
|
srcset="/assets/images/logo.png 1x,
|
|
/assets/images/logo@2x.png 2x,
|
|
/assets/images/logo@3x.png 3x"
|
|
alt="CircuitPython Logo"
|
|
height="60" width="136">
|
|
</a>
|
|
</div>
|
|
<div id="mobile-menu">
|
|
<div class="menu-toggle">
|
|
<a href="#" id="mobile-menu-button">
|
|
<span class="sr-only">Open Mobile Menu</span>
|
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
<nav id="mobile-menu-contents" role="navigation" class="hidden"
|
|
aria-expanded="false" aria-label="Mobile Menu">
|
|
<ul>
|
|
<li><a
|
|
href="/downloads">Downloads</a></li>
|
|
<li><a
|
|
href="/libraries">Libraries</a></li>
|
|
<li><a
|
|
href="/blinka">Blinka</a></li>
|
|
<li><a
|
|
href="/contributing">Contributing</a></li>
|
|
<li><a href="https://blog.adafruit.com/category/circuitpython">News</a></li>
|
|
<li><a
|
|
href="/awesome">Awesome</a></li>
|
|
<li><a href="https://www.adafruitdaily.com/category/circuitpython">Newsletter</a></li>
|
|
<li><a href="https://learn.adafruit.com/welcome-to-circuitpython">Get Started</a></li>
|
|
<li><a href="https://forums.adafruit.com/viewforum.php?f=60">Forums</a></li>
|
|
<li><a href="https://adafru.it/discord" aria-label="Discord"><i class="fab fa-discord"></i> Discord</a></li>
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<div id="main-content" class="wrapper">
|
|
<div>
|
|
<div id="home-page">
|
|
<div class="two-column-content">
|
|
<div class="text">
|
|
<h1>The easiest way to program microcontrollers</h1>
|
|
<div class="tagline">
|
|
<p>
|
|
CircuitPython is a programming language designed to simplify
|
|
experimenting and learning to code on low-cost microcontroller
|
|
boards.
|
|
</p>
|
|
</div>
|
|
<div class="get-started">
|
|
<a href="https://learn.adafruit.com/welcome-to-circuitpython">Get Started</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="image">
|
|
|
|
<img class="image-headline"
|
|
alt=""
|
|
src="https://cdn-learn.adafruit.com/guides/images/000/003/109/medium800/guide-title-image.jpg?1600631273"
|
|
loading="lazy" />
|
|
<span class="image-title">
|
|
<span>
|
|
<p><a href="https://learn.adafruit.com/moon-phase-clock-for-adafruit-matrixportal">Moon Phase Clock for Adafruit Matrix Portal by Phillip Burgess</a></p>
|
|
</span>
|
|
<img alt="Made with CircuitPython Logo"
|
|
src="/assets/images/made_with_circuitpython.svg"
|
|
loading="lazy" />
|
|
</span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="one-column-content">
|
|
<section>
|
|
<div>
|
|
<h2>When we say easy, we mean it.</h2>
|
|
<p>
|
|
With CircuitPython, no desktop downloads are required. Just set up your board and start coding via <a href="https://code.circuitpython.org">code.circuitpython.org</a> over USB, WiFi, or Bluetooth.
|
|
</p>
|
|
<p>
|
|
Create a file, edit your code, save the file, and it runs immediately. There is no compiling needed.
|
|
</p>
|
|
</div>
|
|
<div class="icon-block">
|
|
<div>
|
|
<img alt="Brain Circuit Icon"
|
|
src="/assets/images/icons/brain-circuit.svg"
|
|
loading="lazy" />
|
|
<div>
|
|
<h3>Beginner Friendly</h3>
|
|
<p>
|
|
CircuitPython is designed with education in mind. It's an easy way to start learning how to code and you get immediate feedback from the board.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<img alt="Microchip Icon"
|
|
src="/assets/images/icons/microchip.svg"
|
|
loading="lazy" />
|
|
<div>
|
|
<h3>File Storage</h3>
|
|
<p>
|
|
The internal storage for CircuitPython makes it great for data-logging, playing audio clips, and otherwise interacting with files.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<img alt="Files Icon"
|
|
src="/assets/images/icons/files.svg"
|
|
loading="lazy" />
|
|
<div>
|
|
<h3>Easy Code Updates</h3>
|
|
<p>
|
|
Since your code lives on the disk drive, you can edit it whenever you
|
|
like. You can even keep multiple files around for easy experimentation.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<img alt="Terminal Icon"
|
|
src="/assets/images/icons/terminal.svg"
|
|
loading="lazy" />
|
|
<div>
|
|
<h3>Serial Console + REPL</h3>
|
|
<p>
|
|
These features allow for live feedback from your code and interactive programming.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="two-column-content">
|
|
|
|
<div class="image">
|
|
|
|
<img class="image-headline"
|
|
alt="the Pico W server display server info on the OLED and responding to POST requests"
|
|
src="https://cdn-learn.adafruit.com/guides/images/000/003/693/medium800thumb/heroGif.gif?1667423319"
|
|
loading="lazy" />
|
|
<span class="image-title">
|
|
<span>
|
|
<p><a href="https://learn.adafruit.com/pico-w-http-server-with-circuitpython">Pico W HTTP Server with CircuitPython by Liz Clark</a></p>
|
|
</span>
|
|
<img alt="Made with CircuitPython Logo"
|
|
src="/assets/images/made_with_circuitpython.svg"
|
|
loading="lazy" />
|
|
</span>
|
|
</div>
|
|
|
|
<div class="text">
|
|
<h2>Easily manage and use over 500+ Python libraries.</h2>
|
|
<div class="tagline">
|
|
<p>
|
|
Python is the fastest growing programming language. It's taught in schools and universities. It's a high-level programming language which means it's designed to be easier to read, write and maintain. It supports modules and packages which means it's easy to reuse your code for other projects. It has a built-in interpreter which means there are no extra steps, like compiling, to get your code to work. And of course, Python is Open Source Software which means it's free for anyone to use, modify or improve upon.
|
|
</p>
|
|
<p class="hidden-tablet">
|
|
CircuitPython adds hardware support to all of these amazing features. If you already have Python knowledge, you can easily apply that to using CircuitPython. If you have no previous experience, it's really simple to get started!
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="two-column-content">
|
|
<div class="text">
|
|
<h2>Supported by all of the best microcontrollers</h2>
|
|
<div class="tagline">
|
|
<p>
|
|
CircuitPython is now supported by over 600 microcontroller boards. With so many to choose from, there is sure to be a perfect board for your next project.
|
|
</p>
|
|
</div>
|
|
<div class="get-started">
|
|
<a href="/downloads">See them all</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="image">
|
|
|
|
<img class="image-headline"
|
|
alt=""
|
|
src="https://cdn-learn.adafruit.com/guides/images/000/003/288/medium800/IMG_0663.jpg?1616256336"
|
|
loading="lazy" />
|
|
<span class="image-title">
|
|
<span>
|
|
<p><a href="https://learn.adafruit.com/touch-deck-diy-tft-customized-control-pad">Touch Deck: DIY Customizable TFT Control Pad by John Park</a></p>
|
|
</span>
|
|
<img alt="Made with CircuitPython Logo"
|
|
src="/assets/images/made_with_circuitpython.svg"
|
|
loading="lazy" />
|
|
</span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="two-column-content">
|
|
|
|
<div class="image">
|
|
|
|
<img class="image-headline"
|
|
alt=""
|
|
src="https://cdn-learn.adafruit.com/guides/images/000/003/308/medium800thumb/demo-loop-2.gif?1618493495"
|
|
loading="lazy" />
|
|
<span class="image-title">
|
|
<span>
|
|
<p><a href="https://learn.adafruit.com/32x32-square-pixel-display">32x32 Square Pixel Art Animation Display by Ruiz Brothers</a></p>
|
|
</span>
|
|
<img alt="Made with CircuitPython Logo"
|
|
src="/assets/images/made_with_circuitpython.svg"
|
|
loading="lazy" />
|
|
</span>
|
|
</div>
|
|
|
|
<div class="text">
|
|
<h2>CircuitPython libraries on single board computers</h2>
|
|
<div class="tagline">
|
|
<p>
|
|
Most CircuitPython libraries also work on single board computers (SBCs), such as the Raspberry Pi. Linux runs "desktop" Python (commonly known as CPython) instead of CircuitPython. Our CPython Blinka library provides CircuitPython's low-level hardware APIs, such as `digitalio`.
|
|
</p>
|
|
<p>
|
|
Blinka and CircuitPython libraries are just a `pip install` away.
|
|
</p>
|
|
</div>
|
|
<div class="get-started">
|
|
<a href="/blinka">Learn More</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="one-column-content">
|
|
<h2>Just the beginning...</h2>
|
|
<p>
|
|
CircuitPython continues to evolve, and is constantly being updated. We
|
|
welcome and encourage feedback from the community, and we incorporate this
|
|
into how we are developing CircuitPython. That's the core of the open source
|
|
concept. This makes CircuitPython better for you and everyone who uses it!
|
|
</p>
|
|
<div class="get-started">
|
|
<a href="https://learn.adafruit.com/welcome-to-circuitpython">Get Started</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="one-column-content">
|
|
<h2>Thanks</h2>
|
|
<p>
|
|
CircuitPython wouldn't exist without the awesome work of
|
|
<a href="https://micropython.org">Damien George and the MicroPython community</a>.
|
|
They did the hard work to reimplement Python on microcontrollers and
|
|
continue to push the boundaries of what is possible.
|
|
</p>
|
|
<p>
|
|
Thank you to <a href="https://www.adafruit.com">Adafruit</a> for
|
|
continuing to support CircuitPython's beginner-focused development.
|
|
Adafruit supports MicroPython with code contributions and financially
|
|
via <a href="https://github.com/sponsors/micropython">GitHub sponsorship</a>
|
|
AND directly to MicroPython.
|
|
</p>
|
|
<p>
|
|
Lastly, thank you to the CircuitPython community members who have spent
|
|
time testing, triaging, fixing and enhancing CircuitPython, its libraries
|
|
and its documentation. Together we're all making something incredible.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|