Scott Shawcroft
1a0596a2fb
Add option to disable the concurrent write protection
...
This allows writing to the filesystem from the host computer and
CircuitPython by increasing the risk of filesystem corruption.
2019-02-21 10:45:41 -08:00
Lionel Debroux
b0c2c3c756
A couple build fixes for mp_float_t = double (MICROPY_FLOAT_IMPL_DOUBLE).
...
Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
2019-02-17 11:21:48 +01:00
Dan Halbert
a345ef28f2
finish Makefile refactoring; nrf builds work
2019-02-15 18:55:10 -05:00
Dan Halbert
5154e0581e
WIP: atmel-samd trinket build works
2019-02-15 00:28:20 -05:00
Dan Halbert
379258112a
Merge pull request #1548 from tannewt/shape_arg_check
...
Arg check width and height into Shape.
2019-02-14 07:42:39 -05:00
Scott Shawcroft
b13adfc228
Arg check width and height into Shape.
...
Fixes #1537
2019-02-13 17:34:39 -08:00
Scott Shawcroft
473bdf48f6
A safe mode fix and displayio fixes
...
* Fixes safe mode on the SAMD51. The "preserved" value was being
clobbered by the bootloader.
* Fixes auto-reload loop when in safe mode.
* Fixes reading Group children with [].
* Check that a TileGrid actually moves before queueing a refresh.
2019-02-13 15:31:06 -08:00
TG-Techie
e674f11df2
Update Shape.c
2019-02-12 19:16:27 -05:00
Scott Shawcroft
1e16b3e134
Tweaks based on dhalbert's feedback.
2019-02-12 14:18:53 -08:00
Scott Shawcroft
b4306314aa
Move terminal font to terminalio from board.
2019-02-12 10:10:02 -08:00
Scott Shawcroft
5258bc4318
Fixup doc reference
2019-02-11 20:55:06 -08:00
Scott Shawcroft
c17f147be9
A variety of displayio improvements
...
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-02-11 20:55:05 -08:00
Craig Forbes
de43911a68
Remove usb_midi.PortIn and PortOut constructors.
2019-02-06 22:22:15 -06:00
Scott Shawcroft
845783a457
Clarify rotation parameter
2019-02-01 09:33:33 -08:00
Scott Shawcroft
448ae64d8e
Add support for display rotation and raw commands
...
Display rotation is relative to the scan order of the display.
The scan order can be found by scrolling the display with command
0x37 `display_bus.send(0x37, struct.pack(">H", i % 128))`
Fixes #1504
2019-02-01 00:32:03 -08:00
Scott Shawcroft
d72cd5b2d6
Correct TileGrid class name.
2019-01-31 11:42:15 -08:00
Scott Shawcroft
354a26963b
Correctly handle no backlight pin.
2019-01-31 11:42:15 -08:00
Scott Shawcroft
2c069a5685
Polish up comments
2019-01-31 11:42:15 -08:00
Scott Shawcroft
73bc614a4b
Remove doc reference to Sprite
2019-01-31 11:42:15 -08:00
Scott Shawcroft
ec03887040
Fix hallowing and nrf builds
2019-01-31 11:42:15 -08:00
Scott Shawcroft
4672866eec
Remove Sprite references
2019-01-31 11:42:14 -08:00
Scott Shawcroft
601a910f4e
More improvements to Terminal:
...
* Fix Hallowing.
* Fix builds without displayio.
* Fix y bounds that appears as untrollable row of pixels.
* Add scrolling to TileGrid.
* Remove Sprite to save space. TileGrid is a drop in replacement.
2019-01-31 11:42:14 -08:00
Scott Shawcroft
6145f08cc8
Support adjustable backlight brightness
2019-01-31 11:42:14 -08:00
Scott Shawcroft
69bc5e189b
Rudamentary backlight support
2019-01-31 11:42:14 -08:00
Scott Shawcroft
1a1dbef992
Hook up the terminal based on the first display.
2019-01-31 11:42:14 -08:00
Scott Shawcroft
fb0970ec6e
Add terminalio
2019-01-31 11:42:13 -08:00
Scott Shawcroft
73cf490635
Add TileGrid
2019-01-31 11:42:13 -08:00
Jerry Needell
44bd9d1013
fix kw_arg checking for time.struct_time()
2019-01-25 14:57:31 -05:00
Dan Halbert
04aa906fac
fix a few ble-related doc issues
2019-01-24 00:13:15 -05:00
Scott Shawcroft
a380865655
Merge remote-tracking branch 'adafruit/master' into HEAD
2019-01-22 14:02:07 -08:00
Dan Halbert
e170e03f8c
Merge remote-tracking branch 'adafruit/master' into bleio2
2019-01-21 20:38:26 -05:00
Scott Shawcroft
2bcf81fb9e
Merge pull request #1479 from siddacious/master
...
adding height and width to OnDiskBitmap for #1460
2019-01-21 00:32:49 -08:00
Bryan Siepert
ab2ad7ba45
adding height and width to OnDiskBitmap for #1460
2019-01-20 22:33:22 -08:00
Dan Halbert
a8f4aa4796
Merge remote-tracking branch 'adafruit/master' into struct-compat
2019-01-20 21:47:13 -05:00
Dan Halbert
7a09af73ec
Improve struct compatibility with CPython
2019-01-20 15:12:34 -05:00
Dan Halbert
62df7ab730
Improve struct compatibility with CPython
2019-01-20 15:10:09 -05:00
Dan Halbert
28cfd8a513
CharacteristicBuffer: make it be a stream class; add locking
2019-01-19 19:45:35 -05:00
Roy Hooper
02266eafd8
adjust comment
2019-01-19 17:04:24 -05:00
Roy Hooper
8fa81fe003
move headers to __init__.h
2019-01-19 17:03:16 -05:00
Roy Hooper
79d9c9cd56
remove fill_wheel
2019-01-19 17:01:31 -05:00
Roy Hooper
b82e1d7fcb
Fix build to work with constructor calling convention.
2019-01-19 16:54:21 -05:00
Roy Hooper
50af08a6f3
Merge branch 'master' into pixelbuf
2019-01-19 16:33:59 -05:00
Scott Shawcroft
b41d386d02
simplify arg checking for display
2019-01-18 17:04:18 -08:00
Scott Shawcroft
edc8383e22
Improvements thanks to danh's review
2019-01-18 16:37:06 -08:00
Scott Shawcroft
dc024cf411
Add a bit more to the docs
2019-01-18 12:59:23 -08:00
Scott Shawcroft
6404aaf411
Fix up nrf and using board.SPI in FourWire
2019-01-17 18:19:07 -08:00
Scott Shawcroft
760bd8d8a4
share fourwire and make nrf compile
2019-01-17 15:15:59 -08:00
Scott Shawcroft
2d136d58bf
Fix other builds and hallowing
2019-01-17 14:45:29 -08:00
Scott Shawcroft
84292ad890
External fourwire works and blinka splash after
2019-01-17 00:20:16 -08:00
Dan Halbert
7a33e588d4
Put back native C UUID string parsing and printing (complete rewrite)
2019-01-16 20:41:01 -05:00