Go to file
Scott Shawcroft 412eb87080
Switch to pin, frequency and duty_cycle PulseOut
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0

This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.

Most of the way for #3264

Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07:00
.github Only push main builds to S3 2021-07-20 17:30:10 -07:00
data Updating MISO 2021-05-22 01:02:06 -04:00
devices/ble_hci Fix advertisement 2021-06-25 16:40:23 -07:00
docs Remove OSError(0) and old network modules 2021-07-21 17:33:40 -07:00
examples Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
extmod Upgrade ulab to 3.3.1 2021-07-22 13:29:21 -05:00
frozen update frozen libs, especially CP 2021-07-19 17:06:41 -04:00
lib Add supervisor.get_previous_traceback() function. 2021-07-22 12:23:55 -04:00
LICENSES Add an explicit SPDX license file for ter-u12n. 2020-07-06 19:15:41 +01:00
locale Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
logo Add license to some obvious files. 2020-07-06 19:16:25 +01:00
mpy-cross mpy-cross: Remove bug workaround, debug print 2021-06-01 12:46:31 -05:00
ports Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
py make pre-commit happy 2021-07-23 09:27:54 +05:30
shared-bindings Switch to pin, frequency and duty_cycle PulseOut 2021-07-26 18:35:49 -07:00
shared-module Remove OSError(0) and old network modules 2021-07-21 17:33:40 -07:00
supervisor Merge pull request #5036 from tannewt/esp_oserror0 2021-07-23 11:00:56 +05:30
tests Merge pull request #4904 from hierophect/alarmtests 2021-06-24 08:17:01 -04:00
tools extract_py: Import Dict if needed 2021-07-20 19:49:25 -05:00
.git-blame-ignore-revs top: Update .git-blame-ignore-revs for latest formatting commit. 2021-04-27 23:46:46 +10:00
.gitattributes Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
.gitignore refine stubs-building procedure 2021-06-22 08:59:05 -05:00
.gitmodules Update pico-sdk to 1.2.0, using raspberrypi repo 2021-07-20 17:31:29 -04:00
.mailmap Add a .mailmap file to collate together multiple author entries. 2020-07-06 19:15:41 +01:00
.pre-commit-config.yaml pre-commit: Have pre-commit pass the list of files to codeformat.py 2021-03-15 15:32:26 -05:00
.readthedocs.yml .readthedocs.yml: add directive for RTD to build a pdf version of the docs 2020-08-15 14:30:12 -05:00
.rosie.yml Add license to some obvious files. 2020-07-06 19:16:25 +01:00
ACKNOWLEDGEMENTS Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
ACKNOWLEDGEMENTS.license Add license to some obvious files. 2020-07-06 19:16:25 +01:00
BUILDING.md ok it would be nice to know how to run it 2021-03-15 19:32:40 -05:00
CODE_OF_CONDUCT.md Update CODE_OF_CONDUCT.md from source-of-truth repository. 2020-06-03 10:43:36 +01:00
conf.py Merge remote-tracking branch 'origin/main' into refine-stubs 2021-07-08 19:05:26 -05:00
CONTRIBUTING.md Fix error 2020-10-26 23:36:54 +01:00
LICENSE Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
license.rst Improve docs and update to CircuitPython. 2017-01-05 16:20:46 -08:00
main.c Merge pull request #5036 from tannewt/esp_oserror0 2021-07-23 11:00:56 +05:30
Makefile Merge pull request #4907 from jepler/refine-stubs 2021-07-15 12:11:58 -07:00
MANIFEST.in-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
README.rst Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00
README.rst-stubs Actually reduce the README text for the stubs package 2021-06-24 13:41:01 -05:00
requirements-dev.txt Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00
setup.py-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
WEBUSB_README.md wip: starting to try to compile 2021-04-25 23:17:41 -04:00

CircuitPython
=============

.. image:: https://s3.amazonaws.com/adafruit-circuit-python/CircuitPython_Repo_header_logo.png

|Build Status| |Doc Status| |License| |Discord| |Weblate|

`circuitpython.org <https://circuitpython.org>`__ \| `Get CircuitPython <#get-circuitpython>`__ \|
`Documentation <#documentation>`__ \| `Contributing <#contributing>`__ \|
`Branding <#branding>`__ \| `Differences from Micropython <#differences-from-micropython>`__ \|
`Project Structure <#project-structure>`__

**CircuitPython** is a *beginner friendly*, open source version of Python for tiny, inexpensive
computers called microcontrollers.

This package contains the "stubs", or type definitions for CircuitPython.  With some advanced
editors and other tools, this information can be identify TypeErrors, AttributeErrors, and other
problems before you deploy your code to a device and can even help autocomplete your code.

.. |Build Status| image:: https://github.com/adafruit/circuitpython/workflows/Build%20CI/badge.svg
   :target: https://github.com/adafruit/circuitpython/actions?query=branch%3Amain
.. |Doc Status| image:: https://readthedocs.org/projects/circuitpython/badge/?version=latest
   :target: http://circuitpython.readthedocs.io/
.. |Discord| image:: https://img.shields.io/discord/327254708534116352.svg
   :target: https://adafru.it/discord
.. |License| image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
   :target: https://choosealicense.com/licenses/mit/
.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
   :target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget