Commit Graph

2100 Commits

Author SHA1 Message Date
Dan Halbert 5a063c1a76
Merge pull request #6035 from FoamyGuy/bitmap_blit_type_error
bitmap.blit type checking and raise error
2022-02-14 22:38:22 -05:00
foamyguy dc01505cfc bitmap.blit type checking and raise error 2022-02-14 19:05:53 -06:00
anecdata 5742a12497 input validation consistent with esp-idf is moved to common-hal 2022-02-13 22:14:45 -06:00
anecdata 7884e73089 build-doc fix 2022-02-12 14:31:23 -06:00
anecdata b559a0ee2a new kwarg: wifi.radio.start_ap(max_connections=) 2022-02-12 13:34:57 -06:00
Scott Shawcroft 5355092e4a
Merge pull request #6003 from dhalbert/spi-half-duplex-signature
add half_duplex to busio.SPI signature
2022-02-10 10:27:14 -08:00
Dan Halbert c234d92bdc
Merge pull request #5989 from tekktrik/doc/update-ref-volt-desc
Expand AnalogIn.reference_voltage description
2022-02-09 18:13:59 -05:00
Dan Halbert c4e54ce671 add half_duplex to busio.SPI signature 2022-02-09 14:20:46 -05:00
Scott Shawcroft 88b000f739
Merge pull request #5996 from anecdata/channel_validate
WiFi Monitor: improve channel validation
2022-02-09 11:01:14 -08:00
Dan Halbert da035fe958
Merge pull request #5990 from sgauche/stm_spi_3wire
Add support for half-duplex SPI to CPy
2022-02-09 13:11:37 -05:00
Scott Gauche 3b418dbddc change half_duplex to be on spi construct 2022-02-08 21:37:38 -05:00
anecdata ffc217e468 consolidate exception strings 2022-02-08 17:55:44 -06:00
anecdata 2c19f4f898 improve channel validation 2022-02-08 17:14:28 -06:00
tekktrik 74bc41b01a
Change reference of "libraries" to "classes 2022-02-08 12:20:28 -05:00
tekktrik 909a554dbd
Expand AnalogIn.reference_voltage description 2022-02-07 18:10:09 -05: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
Kevin Matocha 65837a9941 update doc string 2022-02-02 09:23:37 -06:00
kmatch 89a0f37661
Update shared-bindings/supervisor/__init__.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-02-01 14:36:35 -06:00
kmatch ff36932388
Update shared-bindings/supervisor/__init__.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-02-01 14:36:25 -06:00
Mark 5972fdc108
Merge branch 'main' into is31pixelbuf 2022-02-01 13:59:28 -06:00
Dan Halbert d0453f460d shrink sensebox; fix doc error 2022-02-01 10:12:26 -05:00
Kevin Matocha 0290fc35d2 Removing some unnecessary files that were changed 2022-02-01 08:28:40 -06:00
Dan Halbert cc410ad6a3 common-hal I2C combined write_read 2022-01-31 22:03:30 -05:00
Dan Halbert d5740c8ad9 Merge remote-tracking branch 'adafruit/main' into i2c-common-hal-write-read 2022-01-31 18:51:32 -05:00
gamblor21 02728f1668 Doc changes 2022-01-31 16:23:07 -06:00
Kevin Matocha db0140f586 Expose splash group, add function to resize REPL terminal 2022-01-31 15:02:00 -06:00
Dan Halbert 83e6e6690a wip; works on espressif 2022-01-29 22:44:27 -05:00
Dan Halbert 93a60eecab
Merge pull request #5946 from tammymakesthings/pr4218-neopixel-show-after-deinit
Fixes neopixel show() after deinit() not raising an exception
2022-01-29 18:30:37 -05:00
Tammy Cravit bd39bf3797 Check to see if neopixel is deinited before writing to it 2022-01-29 11:13:00 -07:00
Michael Himing a560ef309e Fix wifi.Radio.ping return type 2022-01-29 21:31:47 +11:00
Michael Himing f7c05bc384 Fix wifi.Radio.connect return type 2022-01-29 21:17:04 +11:00
TheWoodsy b70d5ac713
Update I2SOut.c
Redundant import of analogio in example.
Confused MagTag user. MagTag does not come with analogio in uf2 and cannot play native WAV with buzzer hardware.
2022-01-29 10:13:51 +10:00
gamblor21 19660ec66d Doc and KW_REQ changes 2022-01-28 14:12:05 -06:00
gamblor21 6916307e76 Doc fix 2022-01-27 18:17:38 -06:00
gamblor21 31e183ddad Documentation fix to the fix 2022-01-27 18:01:27 -06:00
gamblor21 d8a7fa025d Documentation fixes 2 2022-01-27 16:49:54 -06:00
gamblor21 dd729d8fef Documentation updates 2022-01-26 19:42:21 -06:00
Scott Shawcroft 5a6f456dbb
Add BLE scanning for S3 and C3.
Everything else should raise NotImplementedError.

First step in #5926
2022-01-25 16:28:46 -08:00
Dan Kulinski 19f9163892 Bringing branch up to date with current main 2022-01-25 11:02:00 -07: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
Neradoc 048ccbcdb2
pulseio doc example little fix 2022-01-22 20:39:26 +01:00
microDev 67293c265c
Merge branch 'main' into board-bus 2022-01-21 10:08:39 +05:30
microDev 30c0891fba
cleanup post instance parameter removal 2022-01-20 20:07:42 +05:30
gamblor21 cf2c8eeec4 Moved init functions to helper python library 2022-01-17 16:13:27 -06:00
Dan Kulinski fbd9e3284b Add two byte length check 2022-01-14 15:25:40 -07:00
microDev 2f6ef766ea
remove instance parameter 2022-01-05 13:41:36 +05:30
Ben Combee 98b0029a29 audiomp3: add decoded_samples property
In my testing, there is no way to accurately know how far into a MP3 file
you're currently playing. You can use monotonic time, but that can have
drift versus the audio playback system, which may not be running at exactly
the expected sample rate.

To allow syncing animation with timestamps in a MP3 file, this presents a
new property, decoded_samples, that records the number of audio samples
sent out of the decoder. While this may not be a completely accurate time,
due to mixer delays, it's much better position that the monotonic clock
difference.

Implementation is keeping track of this value in the mp3file structure and
adding to it whenever data is sent out of the decoder. The property
implementation was a copy/paste from current properties in the audiomp3
files.
2022-01-01 23:28:43 -06:00
Dan Halbert d166834e09
Merge pull request #5803 from dhalbert/countio-enhancements
countio: add selectable rise and fall detection, pulls
2021-12-31 23:45:59 -05:00
Jeff Epler 8a94d9a255
Merge pull request #5784 from WarriorOfWire/vectorio_contains
vectorio contains(x, y)
2021-12-31 16:11:24 -07:00