18 Commits (7cbae3d20c0f79511a932bbcb2d66d2620b6bb3a)

Author SHA1 Message Date
Scott Shawcroft 5662b5813e
Use size_t and document buffers can be the same.
3 years ago
Scott Shawcroft 82d436d05e
Add writeto_then_readfrom to I2C API. Deprecate stop kwarg.
3 years ago
Scott Shawcroft a35d9b469d
Refactor deinit check to reduce code size.
4 years ago
Scott Shawcroft cfe24b8532
Improve rST consistency for rst2pyi use
4 years ago
Scott Shawcroft 747f2cfe26
Add subclass support to displayio.
4 years ago
Scott Shawcroft 933add6cd8
Support internationalisation.
5 years ago
Jerry Needell d6c26942a5 add timeout keyword to I2C - for bitbangio - ignored for busio
5 years ago
Dan Halbert 065e82015f merge from 2.2.0 + fix up board defs
5 years ago
Dan Halbert c478c10923 Do not allow a *io object to be used after deinit().
5 years ago
Scott Shawcroft 714521a4c7 shared-bindings: Update docs to remove with statements from examples but add more detail to the design guide about their use.
6 years ago
Scott Shawcroft 939c0045db Switch to a shared piece of code to compute start and length of a
6 years ago
Scott Shawcroft 4aaa0ea008 shared-bindings: Do a pass on the docs and make sure keyword only arguments make sense and are documented correctly. Fixes #109
6 years ago
Scott Shawcroft 12fa5b3a66 Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call.
6 years ago
Scott Shawcroft 710b5d8aff Two I2C fixes:
6 years ago
Scott Shawcroft e9659e61f8 Switch enum-like attributes to all caps and add print support for them. Make room for this functionality by adding a shared __enter__ function object. #76
6 years ago
Scott Shawcroft 26229efe78 Add try_lock and unlock to I2C and SPI classes to make sure things
6 years ago
Scott Shawcroft 4933fa1c27 shared-bindings: Ensure pin objects are actually pins.
6 years ago
Scott Shawcroft ccbb5e84f9 This introduces an alternative hardware API called nativeio structured around different functions that are typically accelerated by native hardware. Its not meant to reflect the structure of the hardware.
6 years ago