Rob Capellini
b8f2799609
Convert more modules to use MP_REGISTER_MODULE
...
Convert bitbangio, bitmaptools, _bleio, board, busio, countio, digitalio, framebufferio, frequencyio, gamepadshift, getpass, keypad, math, microcontroller, and msgpack modules to use MP_REGISTER_MODULE.
Related to #5183 .
2021-08-26 21:35:02 -04:00
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod
2021-05-05 17:51:52 -07:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Taku Fukada
56c898da80
Modify some Python stubs
2020-08-07 01:01:28 +09:00
Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
Taku Fukada
54a342a7f5
Add and correct some type hints
2020-07-24 18:20:03 +09:00
dherrada
d64b4e3059
Made more requested changes
2020-07-17 14:53:51 -04:00
dherrada
d0d949cd24
Made every init return None
2020-07-03 14:23:34 -04:00
dherrada
3df03a5650
Made most of the requested changes
2020-07-03 13:49:00 -04:00
dherrada
ca0e8ea1eb
Added type hints to framebufferio
2020-07-03 10:12:04 -04:00
Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
a3d5adb43c
Did _eve, fontio, framebufferio, and frequencyio
2020-05-07 11:56:46 -04:00
Jeff Epler
9bfe6b7197
framebufferio: update copyright information
2020-04-17 18:44:07 -05:00
Jeff Epler
57ce2d1f41
framebufferio: get width, etc., from protocol, not object property
2020-04-17 18:43:57 -05:00
Jeff Epler
3d6258f63d
Rename Protomatter -> RGBMatrix
...
This is a quick rename, it changes the user-facing names but not the
internal names of things.
2020-04-17 18:43:57 -05:00
Jeff Epler
1a91a75b9c
framebufferio: get more properties direct from underlying framebuffer
2020-04-17 18:43:57 -05:00
Jeff Epler
d1ff23e004
framebufferio: get width, height from framebuffer properties
2020-04-17 18:43:57 -05:00
Jeff Epler
880fff80e9
protomatter: Respond to review comments
...
- rename oe_pin -> output_enable_pin
- improve and reorganize docstrings
- rename swapbuffers->refresh
- rename "paused" -> "brightness", change semantics slightly
- common_hal several functions
- clarify why the common_hal routines can't be used directly in the
protocol's function pointers
- whitespace cleanups
- remove prototypes for nonexistent functions
2020-04-14 18:24:59 -05:00
Jeff Epler
ba20bc8b43
framebufferio: move backlight down to the underlying framebuffer
2020-04-14 18:24:58 -05:00
Jeff Epler
baf04b7738
FramebufferDisplay: remove probably not needed constructor arguments
2020-04-14 18:24:58 -05:00
Jeff Epler
09dc46a984
Add Protomatter and FramebufferDisplay
2020-04-14 18:24:54 -05:00