foamyguy
1bbdc820c0
make show(None) show the terminal
2022-11-28 17:02:46 -06:00
foamyguy
553d48f887
return None for NULL
2022-11-28 09:03:03 -06:00
foamyguy
b8d6605cff
code format, extra space
2022-11-27 17:26:46 -06:00
foamyguy
6844dc0cb7
code format, extra space
2022-11-27 14:20:15 -06:00
foamyguy
15a9e63fda
remove is_null troubleshooting function. remove empty line
2022-11-27 14:08:38 -06:00
foamyguy
738b73d4b4
check for NULL in fill_area. moved start_terminal to reset_display.
2022-11-27 13:54:53 -06:00
foamyguy
2c479f4fce
working on None behavior
2022-11-26 11:00:09 -06:00
foamyguy
fa4b480439
looking into how null show works
2022-11-21 20:21:39 -06:00
foamyguy
e3cae22297
allow set_root_group for EPaperDisplay instead of show()
2022-11-18 17:34:03 -06:00
foamyguy
403e3ef430
change to CIRCUITPYTHON_TERMINAL. change internal API to use set_root_group
2022-11-18 16:53:18 -06:00
gamblor21
863a8bce03
Fix with PWM for brightness slowing devices down
2022-09-11 20:34:53 -05:00
Pepijn de Vos
f69f517352
allow writing empty color frame
2022-09-06 19:32:15 +02:00
Dan Halbert
02cc6c2aee
Merge remote-tracking branch 'adafruit/main' into remove-autobrightness
2022-08-10 08:35:53 -04:00
Dan Halbert
41bcd7b260
Remove support for auto-brightness
2022-08-09 22:40:21 -04:00
Jeff Epler
64b1d003df
Allow a Bitmap to be constructed from a buffer (in C anyway)
...
.. so that Camera.take() can return one without copying
2022-08-04 15:11:58 -05:00
Scott Shawcroft
6446010753
Wi-Fi autoconnect and title bar status
...
This adds support for CIRCUITPY_WIFI_SSID and CIRCUITPY_WIFI_PASSWORD
in `/.env`. When both are defined, CircuitPython will attempt to
connect to the network even when user code isn't running. If the
user code attempts to a network with the same SSID, it will return
immediately. Connecting to another SSID will disconnect from the
auto-connected network. If the user code initiates the connection,
then it will be shutdown after user code exits. (Should match <8
behavior.)
This PR also reworks the default displayio terminal. It now supports
a title bar TileGrid in addition to the (newly renamed) scroll area.
The default title bar is the top row of the display and is positioned
to the right of the Blinka logo when it is enabled. The scroll area
is now below the Blinka logo.
The Wi-Fi auto-connect code now uses the title bar to show its
state including the IP address when connected. It does this through
the "standard" OSC control sequence `ESC ] 0 ; <s> ESC \` where <s>
is the title bar string. This is commonly supported by terminals
so it should work over USB and UART as well.
Related to #6174
2022-06-09 14:55:54 -07:00
Scott Shawcroft
b90563d504
Merge pull request #6442 from FoamyGuy/tilegrid_contains
...
tilegrid.contains() function
2022-06-06 11:02:43 -07:00
foamyguy
c9c864a4f7
fix off by one right and bottom edges of tilegrid.contains()
2022-06-03 17:51:33 -05:00
foamyguy
6831dd8aaa
return expression formatting
2022-06-03 17:04:53 -05:00
foamyguy
87f4cd6bca
return expression instead of if statement
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-06-03 16:21:50 -05:00
foamyguy
ffc451b338
argument for backlight_pwm_frequency and use it in pyportal titano build
2022-05-28 12:01:05 -05:00
foamyguy
db318726a2
tilegrid.contains() function
2022-05-27 18:05:44 -05:00
foamyguy
6b04b7efc8
display brightness pwm 500hz frequency
2022-05-21 12:09:23 -05:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
Scott Shawcroft
f975c97c63
Merge pull request #6363 from FoamyGuy/hidden_vectorio
...
Hidden vectorio
2022-05-18 09:00:13 -07:00
foamyguy
1c564764d6
use draw protocol impl in parent hidden too
2022-05-08 12:14:28 -05:00
foamyguy
b6a5f421a9
use draw protocol impl
2022-05-08 12:02:59 -05:00
foamyguy
330e01d8e0
handle groups inside of groups with vectorio hidden
2022-05-07 12:27:36 -05:00
foamyguy
c77dc3c828
code format
2022-05-07 11:59:26 -05:00
foamyguy
d1aab89a59
remove prints and extra whitespace
2022-05-07 11:57:27 -05:00
foamyguy
b03968aee5
hide vectorio objects if their containing group is hidden
2022-05-07 11:50:40 -05:00
foamyguy
c8a98d1a18
Merge branch 'adafruit_main' into hidden_vectorio
2022-05-07 10:25:34 -05:00
Jeff Epler
030d5fefa0
Ignore SH1107 quirk if not 1bpp
2022-05-03 09:23:36 -05:00
foamyguy
16b81c855d
adding bitmap property to TileGrid
2022-04-09 11:26:36 -05:00
foamyguy
666a5ff04c
trying to make vectorio shape hidable
2022-04-09 10:09:46 -05:00
Scott Shawcroft
dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2
2022-03-15 13:56:11 -07:00
Scott Shawcroft
32ac396a41
Further refine autoreload
...
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.
We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
2022-03-14 16:49:30 -07:00
Dan Halbert
e4cd9690f1
rework auto-reload delay logic
2022-03-11 14:03:04 -05:00
Radomir Dopieralski
102ee716a7
Add support for 9-bit mode to displayio.FourWire
...
If the ``command`` pin is None, that information will instead be
sent as a ninth bit in the SPI transactions.
Fix #6109
2022-03-04 22:59:17 +01:00
Kevin Matocha
03f42406d3
updated code so the REPL will retain its text if not resized when code stops
2022-02-21 10:33:08 -06:00
Dan Halbert
4dc9b00221
Merge pull request #5954 from kmatch98/repl_wrangler
...
Expose display’s root_group, add function to resize REPL terminal
2022-02-02 15:36:22 -05:00
Mark
5972fdc108
Merge branch 'main' into is31pixelbuf
2022-02-01 13:59:28 -06:00
Kevin Matocha
0290fc35d2
Removing some unnecessary files that were changed
2022-02-01 08:28:40 -06:00
Dan Halbert
83e6e6690a
wip; works on espressif
2022-01-29 22:44:27 -05:00
Dan Kulinski
19f9163892
Bringing branch up to date with current main
2022-01-25 11:02:00 -07:00
gamblor21
af93817552
Fixing bad merge
2022-01-23 14:57:06 -06:00
Mark
21c8ac9d4c
Merge branch 'main' into is31pixelbuf
2022-01-23 13:41:10 -06:00
gamblor21
563d8f297c
Major refractor to make a common base object
2022-01-23 13:12:37 -06:00
microDev
67293c265c
Merge branch 'main' into board-bus
2022-01-21 10:08:39 +05:30
Dan Kulinski
ca8299e51b
Update logic for offset
2022-01-14 15:25:40 -07:00