summaryrefslogtreecommitdiff
path: root/shared-bindings/pulseio
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-08-21Add empty linesScott Shawcroft
2020-08-21Fix copy pasta and stub buildScott Shawcroft
2020-08-21Merge remote-tracking branch 'adafruit/main' into add_pwmioScott Shawcroft
2020-08-18Split pulseio.PWMOut into pwmioScott Shawcroft
This gives us better granularity when implementing new ports because PWMOut is commonly implemented before PulseIn and PulseOut. Fixes #3211
2020-08-18Style changes, reposition runtime errorsLucian Copeland
2020-08-14Expand PulseOut API, debug cleanupLucian Copeland
2020-08-14Add PulseOutLucian Copeland
2020-07-27Fix several type hintsTaku Fukada
2020-07-24Add and correct some type hintsTaku Fukada
2020-07-17Merge branch 'main' into type_hintsdherrada
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2020-07-03Made every init return Nonedherrada
2020-07-03Made most of the requested changesdherrada
2020-07-03Added type hints to pulseiodherrada
2020-07-02Removed all 'self, )'dherrada
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-11Did ps2io, pulseio, randomdherrada
2020-03-05rename routines to be clearer; fix wiznet arg typesDan Halbert
2020-02-28new pin validation routines; don't use mp_const_none if NULL will doDan Halbert
2019-10-25Note behavior in documentationThea Flowers
2019-06-12Refactor deinit check to reduce code size.Scott Shawcroft
2019-06-11Merge latest 4.0.x fixes into masterDan Halbert
2019-05-30Improve rST consistency for rst2pyi useScott Shawcroft
2019-05-27Removed warning box regarding SAMD21 buildsJason Pecor
The support matrix shows that pulseio is supported for all SAMD21/SAMD51 variants. Removing warning to avoid confusion.
2019-03-12wrong arg type for PWMOut variable_frequencyDan Halbert
2019-02-11A variety of displayio improvementsScott Shawcroft
This changes a number of things in displayio: * Introduces BuiltinFont and Glyph so the built in font can be used by libraries. For boards with a font it is available as board.TERMINAL_FONT. Fixes #1172 * Remove _load_row from Bitmap in favor of bitmap[] access. Index can be x/y tuple or overall index. Fixes #1191 * Add width and height properties to Bitmap. * Add insert and [] access to Group. Fixes #1518 * Add index param to pop on Group. * Terminal no longer takes unicode character info. It takes a BuiltinFont instead. * Fix Terminal's handling of [###D vt100 commands used when up arrowing into repl history. * Add x and y positions to Group plus scale as well. * Add bitmap accessor for BuiltinFont
2019-01-31Rudamentary backlight supportScott Shawcroft
2019-01-14Add subclass support to displayio.Scott Shawcroft
Also, swap make_news to accept a kwarg map and refine param checking. Fixes #1237
2018-10-16PulseOut workingDan Halbert
2018-10-09Allow variable freq PWMOut; use multiple channels if same freqDan Halbert
2018-08-07Support internationalisation.Scott Shawcroft
2018-07-31Use more mp_raise_* to save 28 bytes code size.Scott Shawcroft
2018-06-08Prevent freezing USB during high frequency PulseIn.Scott Shawcroft
We now track the last time the background task ran and bail on the PulseIn if it starves the background work. In practice, this happens after the numbers from pulsein are no longer accurate. This also adjusts interrupt priorities so most are the lowest level except for the tick and USB interrupts. Fixes #516 and #876
2018-02-07Clarify style of attribute comments in the Design Guide.Scott Shawcroft
And update the core attributes to match the style.
2017-10-25shared-bindings: Use unary_op type.Scott Shawcroft
2017-10-03Do not allow a *io object to be used after deinit().Dan Halbert
Fixes #278, #277, #276, #275.
2017-08-25Initial merge of micropython v1.9.2 into circuitpython 2.0.0 (in ↵Dan Halbert
development) master. cpx build compiles and loads and works in repl; test suite not run yet esp8266 not tested yet
2017-08-10shared-bindings/atmel-samd: Fix and improve trigger duration timing on ↵Scott Shawcroft
PulseIn.resume.
2017-07-27fixed naming on pulseIn example for docsbrentru
2017-06-07shared-bindings: Update docs to remove with statements from examples but add ↵Scott Shawcroft
more detail to the design guide about their use.
2017-06-07docs: Fix header lines that are too short.Scott Shawcroft
2017-06-06shared-bindings: Fix duty_cycle parameter description and error message.Scott Shawcroft
2017-05-08shared-bindings: Correct PulseIn.resume to match docs. Fixes #125Scott Shawcroft
2017-04-13Correct PulseOut example code0.9.5Scott Shawcroft
2017-04-12atmel-samd: Rework status LED implementationScott Shawcroft
* Track status pin use by user code separately so it can take over the pins and then give them back. * Switch to hardware SPI for APA102 on Gemma and Trinket. * Merge microcontroller/types.h into microcontroller/Pin.h to better match approach going forwards.
2017-04-10Split up nativeio.0.9.4Scott Shawcroft
This was done to allow greatly granularity when deciding what functionality is built into each board's build. For example, this way pulseio can be omitted to allow for something else such as touchio.