197 lines
7.5 KiB
HTML
197 lines
7.5 KiB
HTML
---
|
|
layout: home
|
|
---
|
|
|
|
<div id="home-page">
|
|
<div class="headline-banner">
|
|
<div class="img-overlay"></div>
|
|
<img class="image-headline" alt="hero image"
|
|
src="{{ "assets/images/heroes/" |
|
|
append: site.hero_image |
|
|
relative_url }}"
|
|
/>
|
|
<div class="text">
|
|
<div class="title"><span>The easiest way to program microcontrollers</span></div>
|
|
<div class="tagline">
|
|
<span>
|
|
CircuitPython is a programming language designed to simplify
|
|
experimenting and learning to code on low-cost microcontroller
|
|
boards.
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="purple banner">
|
|
<p>
|
|
With CircuitPython, there are no upfront desktop downloads needed. Once
|
|
you get your board set up, open any text editor, and start editing code.
|
|
It's that simple.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="headline-banner supported-section">
|
|
<img class="image-headline" alt="hero image"
|
|
src="{{ "assets/images/CircuitPython_Boards.jpg" |
|
|
relative_url }}"
|
|
/>
|
|
<div class="text">
|
|
<div class="title"><span>Supported by all of the best microcontrollers</span></div>
|
|
<div class="tagline">
|
|
<span>
|
|
<a href="/downloads" class="action-link">See them all</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<section>
|
|
<h2>More reasons to use CircuitPython</h2>
|
|
<div class="home-table">
|
|
<div class="item">
|
|
<h3>Quick and Easy</h3>
|
|
<p>
|
|
Create a file, edit your code, save the file, and it runs immediately.
|
|
There is no compiling, no downloading and no uploading needed.
|
|
</p>
|
|
</div>
|
|
<div class="item">
|
|
<h3>Beginner Friendly</h3>
|
|
<p>
|
|
CircuitPython is designed with education in mind. It's easy to start
|
|
learning how to code and you get immediate feedback from the board.
|
|
</p>
|
|
</div>
|
|
<div class="item">
|
|
<h3>Easy Code Updates</h3>
|
|
<p>
|
|
Since your code lives on the disk drive, you can edit it whenever you
|
|
like, you can also keep multiple files around for easy experimentation.
|
|
</p>
|
|
</div>
|
|
<div class="item">
|
|
<h3>Serial Console + REPL</h3>
|
|
<p>
|
|
These allow for live feedback from your code and interactive programming.
|
|
</p>
|
|
</div>
|
|
<div class="item">
|
|
<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 class="item">
|
|
<h3>Strong Hardware Support</h3>
|
|
<p>
|
|
There are many libraries and drivers for sensors, breakout boards
|
|
and other external components.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="headline-banner supported-section">
|
|
<img class="image-headline pinball" alt="hero image"
|
|
src="{{ "assets/images/CircuitPython_Pinball.jpg" |
|
|
relative_url }}"
|
|
/>
|
|
<div class="text">
|
|
<div class="title"><span>The simple way to build something amazing</span></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<section>
|
|
<img class="responsive" src="{{ "/assets/images/python.png" | relative_url }}"
|
|
srcset="{{ "/assets/images/python.png" | relative_url }} 1x,
|
|
{{ "/assets/images/python@2x.png" | relative_url }} 2x,
|
|
{{ "/assets/images/python@3x.png" | relative_url }} 3x" alt="Python Logo">
|
|
<h2>CircuitPython is based on Python</h2>
|
|
<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>
|
|
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>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="headline-banner supported-section">
|
|
<!-- TODO: Replace this image with a picture of many sensor boards. -->
|
|
<img class="image-headline pinball" alt="hero image"
|
|
src="{{ "assets/images/CircuitPython_Pinball.jpg" |
|
|
relative_url }}"
|
|
/>
|
|
<div class="text">
|
|
<div class="title"><span>280+ libraries all written in Python</span></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<section>
|
|
<!-- TODO: Replace this image with a raspberry pi image. -->
|
|
<img class="responsive" src="{{ "/assets/images/python.png" | relative_url }}"
|
|
srcset="{{ "/assets/images/python.png" | relative_url }} 1x,
|
|
{{ "/assets/images/python@2x.png" | relative_url }} 2x,
|
|
{{ "/assets/images/python@3x.png" | relative_url }} 3x" alt="Python Logo">
|
|
<h2>CircuitPython libraries on single board computers</h2>
|
|
<p>
|
|
Most CircuitPython libraries also work on <a href="/blinka">single board computers (SBCs)</a>, 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>
|
|
</section>
|
|
</div>
|
|
|
|
<div class="purple banner">
|
|
<div class="content short">
|
|
<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>
|
|
<p>
|
|
<a href="https://learn.adafruit.com/welcome-to-circuitpython"
|
|
class="action-link include-gap">Get Started</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<section>
|
|
<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.
|
|
</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>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|