Scott Shawcroft
743bc829ab
Clean up debug changes
3 years ago
Scott Shawcroft
39f4046f70
Fix pairing when peripheral. Central untested.
3 years ago
Scott Shawcroft
98e55eb577
Only add module when printing exception.
3 years ago
Scott Shawcroft
521c7531bc
Improve printing to include _bleio. prefix for type.
3 years ago
Scott Shawcroft
5e857fdb67
Use BluetoothError in _bleio
...
This better differentiates errors than using OSError everywhere.
3 years ago
Hierophect
81223c76bd
revert error
3 years ago
Hierophect
2c6781f74d
move neopixel_in_use flag to shared-bindings
3 years ago
Hierophect
de5691acf5
Add never_reset and reset to pin common hal, adjust files
3 years ago
Dan Halbert
8584c1e824
Fix start_scan timeout default value
3 years ago
Dan Halbert
8cd2f87e99
Merge pull request #2236 from tannewt/bleio_tweaks
...
Refine _bleio
3 years ago
Scott Shawcroft
47e50e5659
Merge remote-tracking branch 'adafruit/master' into bleio_tweaks
3 years ago
Dan Halbert
43b8d5e8ab
Update I2C and SPI documentation
3 years ago
Dan Halbert
56ac41fabf
Merge pull request #2240 from theacodes/fix-2086
...
Track unadjusted PWM duty cycle to avoid accumulating conversion errors
3 years ago
Dan Halbert
cc13fc3433
Merge pull request #2247 from jepler/comment-doc-typos
...
Comment doc typos
3 years ago
Jeff Epler
c208586bf1
audioio: correct trivial typo
3 years ago
Jeff Epler
0657884fca
audiobus: correct trivial typo
3 years ago
Jeff Epler
978cec0316
pixelbuf: correct trivial typos
3 years ago
Thea Flowers
6782948751
Note behavior in documentation
3 years ago
Thea Flowers
4a55c48dbf
Improve documentation for `rtc`.
...
- Add examples for `rtc.RTC.datetime`.
- Add type for `rtc.RTC.calibration`.
- Expand on use cases for `rtc.set_time_source`.
3 years ago
Scott Shawcroft
91c9d519ae
Refine comments and switch prefix_len to size_t
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
Dan Halbert
eca73436c9
Merge remote-tracking branch 'adafruit/master' into cpu-voltage
3 years ago
Kamil Tomaszewski
150f9041e3
Fix unsafe floating point comparison
3 years ago
Kamil Tomaszewski
c67b2c1661
Return None if reference_voltage is 0.0
3 years ago
Dan Halbert
c1ab2486f9
return chip vcc value
3 years ago
Scott Shawcroft
6ad860a963
Merge pull request #2101 from matthewnewberg/display_io_dither
...
Add random dithering to ColorConverter
3 years ago
Scott Shawcroft
d9e0641606
Set dither default to False and document it
3 years ago
Matthew Newberg
8e55232492
Use kwargs for dither in ColorConverter constructor
3 years ago
Matthew Newberg
b2fb5ac1c1
Fix comment on color converter
3 years ago
Matthew Newberg
4604a69498
Move dither parameter to ColorConverter constructor and parameter
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
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
sommersoft
da912e8c74
doc cleanup
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
sommersoft
b1c3d47413
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
3 years ago
Matthew Newberg
d87bfaf480
Add random dithering to ColorConverter
3 years ago
sommersoft
398e7ff6d3
doc update
3 years ago
sommersoft
f82c61732a
enable Mixer backwards compatibility (when audiomixer is available)
3 years ago
sommersoft
8120f5cdad
Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice
3 years ago
sommersoft
6a68d0b4d0
bring back 'mixer.play()' & 'mixer.stop_voice()'
3 years ago
sommersoft
e618441e18
eval the expression vs [un]defined
3 years ago
Dan Halbert
7a64af9280
rename bleio module to _bleio
3 years ago
Dan Halbert
b11b7916fd
address minor issues: typos, make translate, and sphinx
3 years ago
Dan Halbert
f17059b10b
another API rework: less abstraction leakage
3 years ago
Dan Halbert
19c59b41ed
bleio: API change to create and connect related objects simulatenously: no orphan bleio objects
3 years ago
Dan Halbert
a72bcab0fd
Merge remote-tracking branch 'adafruit/master' into bleio-api-revamp
3 years ago
Scott Shawcroft
966a48b23a
More size_t usage
3 years ago
Scott Shawcroft
d956b3b359
Merge remote-tracking branch 'adafruit/master' into remove_i2c_stop_kwarg
3 years ago
Scott Shawcroft
bea77c651a
Minor renames
3 years ago