summaryrefslogtreecommitdiff
path: root/shared-bindings/digitalio
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-07-27Fix several type hintsTaku Fukada
2020-07-24Add and correct some type hintsTaku Fukada
2020-07-22Add externs. GCC10 complains about duplicate definesScott Shawcroft
2020-07-17Merge branch 'main' into type_hintsdherrada
2020-07-06Add license to some obvious files.Diego Elio Pettenò
2020-07-03Added type hints previously misseddherrada
2020-07-03Made every init return Nonedherrada
2020-07-02Removed all 'self, )'dherrada
2020-05-19Fully implement digitalio and pin-in-use tracking.Scott Shawcroft
Fixes #2901
2020-05-16Added DigitalInOut suggestionppolk-nocimed
2020-05-16Fixed Optional[Pull]ppolk-nocimed
2020-05-16Digital In Out Type Hintsppolk-nocimed
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-07Did board, digitalio, displayiodherrada
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-06-18Fix docs in digitalio.Craig Forbes
2019-06-12Refactor deinit check to reduce code size.Scott Shawcroft
2019-04-16Fully split gamepadshift from gamepadScott Shawcroft
2019-04-05Fix crash when getting board.SPI outside the VMScott Shawcroft
If one of the default pins was already in use it would crash. The internal API has been refined to allow us to get the value without causing an init of the singleton. Fixes #1753
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-08-07Support internationalisation.Scott Shawcroft
2018-02-07Clarify style of attribute comments in the Design Guide.Scott Shawcroft
And update the core attributes to match the style.
2018-01-02merge from 2.2.0 + fix up board defsDan Halbert
2017-10-03Do not allow a *io object to be used after deinit().Dan Halbert
Fixes #278, #277, #276, #275.
2017-08-28Merge pull request #208 from adafruit/merge-v1.9.2Scott Shawcroft
Merge MicroPython v1.9.2
2017-08-27Modernize module and class static dicts; update freetouchDan Halbert
2017-08-26Fix blinky exampleScott Shawcroft
Thanks to @Kurticus and @scruffynerf from [discord](http://adafru.it/discord) for finding it.
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-22shared-bindings: Check that extra args aren't provided to ↵Scott Shawcroft
digitalio.DigitalInOut on construction. (#189)
2017-08-22shared-bindings: Update DigitalIO.pull docs and validate that third (#188)Scott Shawcroft
state is None and not anything. Fixes #187
2017-06-16shared-bindings: Move enum-like classes out of DigitalInOut into digitalio.Scott Shawcroft
Also, rename Direction.IN to Direction.INPUT and Direction.OUT to Direction.OUTPUT. This simplifies using them. Prior to the nativeio split this would have led to clutter in the top-level namespace but having digitalio prevents this. Fixes #152
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-06shared-bindings: Allow for switching direction with the attribute.Scott 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.