Hierophect
de5691acf5
Add never_reset and reset to pin common hal, adjust files
3 years ago
Melissa LeBlanc-Williams
39b38256fd
Fixed I2CDisplay reset issue
3 years ago
Scott Shawcroft
47e50e5659
Merge remote-tracking branch 'adafruit/master' into bleio_tweaks
3 years ago
Dan Halbert
d0044c74b6
bitbangio.SPI was not setting direction of output pins
3 years ago
Scott Shawcroft
ece8352126
Fix build by removing unused vars
3 years ago
Scott Shawcroft
ae30a1e5aa
Refine _bleio
...
This PR refines the _bleio API. It was originally motivated by
the addition of a new CircuitPython service that enables reading
and modifying files on the device. Moving the BLE lifecycle outside
of the VM motivated a number of changes to remove heap allocations
in some APIs.
It also motivated unifying connection initiation to the Adapter class
rather than the Central and Peripheral classes which have been removed.
Adapter now handles the GAP portion of BLE including advertising, which
has moved but is largely unchanged, and scanning, which has been enhanced
to return an iterator of filtered results.
Once a connection is created (either by us (aka Central) or a remote
device (aka Peripheral)) it is represented by a new Connection class.
This class knows the current connection state and can discover and
instantiate remote Services along with their Characteristics and
Descriptors.
Relates to #586
3 years ago
jepler
523025ce8c
Merge remote-tracking branch 'origin/master' into audio-stuttering-background
3 years ago
Scott Shawcroft
89fed709ad
Merge pull request #2127 from jepler/nrf-i2s
...
nrf: Add i2s audio output
3 years ago
Dan Halbert
2b560015c9
Merge pull request #2129 from jepler/audiomixer-debugging
...
audiomixer: Supply constants in a way "-Og" optimization expects
3 years ago
jepler
676f7aa808
os_listdir: This can be long-running, run background tasks
...
While finding sources of clicks and buzzes in nrf i2sout, I identified
this site as one which could be long running. Reproducer code was to
play a 22.05kHz sample and repeatedly print `os.listdir('')`
3 years ago
Scott Shawcroft
6ad860a963
Merge pull request #2101 from matthewnewberg/display_io_dither
...
Add random dithering to ColorConverter
3 years ago
jepler
82427612d1
WaveFile: Return GET_BUFFER_ERROR if wrong amount read
...
Closes : #2128
3 years ago
jepler
8768896d6b
audiomixer: Supply constants in a way "-Og" optimization expects
...
These arguments are constrained to be compile-time constants, a fact
that gcc complains about under "-Og" optimization, but not in normal
builds. Declare them as enumerated types
3 years ago
Matthew Newberg
4604a69498
Move dither parameter to ColorConverter constructor and parameter
3 years ago
Dan Halbert
f3af2a6fb7
Merge remote-tracking branch 'adafruit/master' into choose-usb-devices-xac
3 years ago
Matthew Newberg
3ab6a23434
Removed unused return value in displayio_colorconverter_convert
3 years ago
Dan Halbert
fca440fb66
Merge pull request #2113 from tannewt/displayio_hidden
...
Add .hidden to TileGrid and Group
3 years ago
Scott Shawcroft
321b57a5d2
Merge pull request #2080 from sommersoft/mixer_voice
...
Add audiocore.MixerVoice
3 years ago
Scott Shawcroft
70407e4d87
Bitpack bools in TileGrid and Group
3 years ago
Radomir Dopieralski
5f6228b6f0
Fix transactions in _stage after displayio changes
...
Also, move the rendering setup code to shared-module from
shared-bindings.
In CP 5.0, displayio_display_core_set_region_to_update now starts
its own transaction, so it has to be moved outside of the transaction
started by the render call.
3 years ago
Dan Halbert
95a5a57f94
Merge remote-tracking branch 'adafruit/master' into choose-usb-devices-xac
3 years ago
sommersoft
edfcee29ff
remove leftover debug print
3 years ago
Dan Halbert
d3cb1030c8
trivial change; try to force check run
3 years ago
Dan Halbert
94ba027544
simpler generation of HID device tables
3 years ago
Scott Shawcroft
949f8761b8
Add .hidden to TileGrid and Group
...
This allows for one to preserve ordering within a Group while
hiding something temporarily.
Fixes #1688
3 years ago
Scott Shawcroft
b53f169824
Fix I2CDisplay bus_free to not grab lock
...
Fixes #2098
3 years ago
Dan Halbert
42f5edbd33
WIP
3 years ago
Dave Astels
b318896b85
Capture rotation
3 years ago
sommersoft
b1c3d47413
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
3 years ago
sommersoft
362c1664ae
use more accurate ARMv7 prepocessor flags; TODOs for asm instructions
3 years ago
Matthew Newberg
d87bfaf480
Add random dithering to ColorConverter
3 years ago
sommersoft
3c7c3c98d7
include CMSIS instrinsic addition functions for M4; cleanup C math funcs
3 years ago
sommersoft
8120f5cdad
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
3 years ago
Dan Halbert
7a64af9280
rename bleio module to _bleio
3 years ago
Scott Shawcroft
bea77c651a
Minor renames
3 years ago
sommersoft
696117b048
disable audiomixer on boards it doesn't fit on
3 years ago
sommersoft
7f64af38cb
fix 'audiomixer_mixer_reset_buffer'
4 years ago
sommersoft
df5568d993
move Mixer & MixerVoice from 'audiocore' to 'audiomixer'
4 years ago
sommersoft
b54fd961cb
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
4 years ago
sommersoft
965f2bf799
fix MixerVoice.get_level; now returns a float between 0-1.
4 years ago
sommersoft
2c55b40a53
use a MixerVoice constructor
4 years ago
Scott Shawcroft
7324b70a7c
Rework based on Dan's review
4 years ago
Scott Shawcroft
72e7ffa324
More cleanup
4 years ago
Scott Shawcroft
8d836fa248
Regular display fixes including refresh tweaks
4 years ago
Scott Shawcroft
f2a1972ba8
Add refresh_time to use if busy_pin is not given
4 years ago
Scott Shawcroft
3a98de1236
Add reset() to display busses to detect whether it works
4 years ago
Scott Shawcroft
24b30965c4
Refresh ePaper displays once code.py is done running
4 years ago
Scott Shawcroft
36a23e0fe3
Rework refresh API and factor common display stuff out
...
NOT TESTED! Just compiles
Fixes #1691
4 years ago
Scott Shawcroft
c247e7df9c
Begin refresh rework.
4 years ago
Scott Shawcroft
70680d5b22
EPaper displays work mostly.
4 years ago