Commit Graph

1302 Commits

Author SHA1 Message Date
gamblor21 197539bd82 Moved I2CDevice and SPI to match python library 2020-11-03 17:30:33 -06:00
gamblor21 8bbbb2833a Fixes from testing SPI 2020-11-01 21:38:20 -06:00
gamblor21 7dd53804a0 Fixed stubs again 2020-11-01 10:31:31 -06:00
gamblor21 76c1153380 Fixed stubs 2020-11-01 08:57:31 -06:00
gamblor21 5ea09fe348 Fixed stubs 2020-10-31 13:37:05 -05:00
gamblor21 78477a374a Initial SPI commit 2020-10-31 12:17:29 -05:00
gamblor21 e7da852db7 Fixing review comments 2020-10-29 16:13:03 -05:00
gamblor21 2374b0d013 Fixed whitespace issues 2020-10-27 09:13:14 -05:00
gamblor21 9ec224539b Clean up 2020-10-27 08:43:51 -05:00
gamblor21 8a379830a8 Added doc and translations 2020-10-26 16:54:24 -05:00
gamblor21 12d770b427 Added __probe_for_device 2020-10-25 10:15:45 -05:00
gamblor21 b637d3911e Initial commit 2020-10-24 20:48:35 -05:00
Jensen Kuras 38c8248b9e
Merge branch 'main' into color-converter-transparency 2020-10-19 18:13:44 -05:00
Scott Shawcroft c5d8c12e34
Merge pull request #3563 from gamblor21/recv_into_size_check
Add socketpool.socket.recv_into size check
2020-10-19 15:40:41 -07:00
Jensen Kuras d2dada869c
displayio: Update docs for ColorConverter's make_opaque
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2020-10-19 17:27:01 -05:00
Scott Shawcroft d606a3e968
Merge pull request #3484 from astrobokonon/esp32s2-morenet
Esp32s2: Expose more network parameters
2020-10-19 15:07:20 -07:00
Jensen Kuras 575b2e607b
Merge branch 'main' into color-converter-transparency 2020-10-16 19:55:24 -05:00
Jensen 74c07a4bdc displayio: Add in opaque pixel option for future 2020-10-16 19:50:41 -05:00
Mark 8e6d3e5b91
Merge branch 'main' into recv_into_size_check 2020-10-16 15:52:45 -05:00
Ryan T. Hamilton 9d840aab0b Cleaned up and now testing 2020-10-15 23:45:11 -07:00
Ryan T. Hamilton b336039aab Disable the long way and return an ap_info object
still needs work and cleanup
2020-10-15 23:18:30 -07:00
gamblor21 fa75231ae3 Added max size check to recv_into 2020-10-15 18:46:42 -05:00
microDev 26fd2c6223
Add hostname validation 2020-10-15 16:08:01 +05:30
Jensen b02a5bcbd5 displayio: Remove verbose error 2020-10-14 23:05:19 -05:00
Jensen 3c5a08628a Merge branch 'color-converter-transparency' of github.com:jensechu/circuitpython into color-converter-transparency 2020-10-14 21:52:49 -05:00
Jensen 2517e4b486 displayio: ColorConverter handle if opaque color is black 2020-10-14 21:51:40 -05:00
microDev 18fbff4f57
Update wifi hostname method 2020-10-14 11:11:59 +05:30
microDev ceb531086e
Add method to set custom hostname 2020-10-13 14:22:02 +05:30
Jensen Kuras de9ea47e8e
Merge branch 'main' into color-converter-transparency 2020-10-12 20:48:55 -05:00
Jensen 337019626a displayio: Add make_transparent to ColorConverter 2020-10-12 20:48:04 -05:00
Jensen b359e2945a displayio: Add make_transparent and make_opaque to ColorConvertor 2020-10-12 20:48:04 -05:00
Jensen 57b44928a3 displayio: Pass transparent_color to ColorConverter
Signed-off-by: Jensen <jensechu@gmail.com>
2020-10-12 20:48:04 -05:00
Jeff Epler 5e38bb98cb rgbmatrix: update protomatter to 1.0.5 tag
this is compile-tested on
 stm32f405 feather
 matrixportal
 nrf52840 feather

but not actually tested-tested.
2020-10-10 14:30:37 -05:00
Scott Shawcroft 375676ff58
Merge pull request #3501 from hierophect/esp32-analogin
ESP32S2: Add AnalogIn
2020-10-09 14:10:24 -07:00
Ryan T. Hamilton 99f27bea61 Merge branch 'main' of https://github.com/adafruit/circuitpython into esp32s2-morenet 2020-10-08 12:43:52 -07:00
Scott Shawcroft 9fcf96cb64
Replace _bleio.ConnectionError with the native version
Replace uses of _bleio.ConnectionError with regular ConnectionError

Fixes #3008
2020-10-07 17:11:32 -07:00
Scott Shawcroft 8c428a3bdd
Merge pull request #3492 from hierophect/esp32-update-idf
ESP32S2: move to official IDF submodule
2020-10-06 16:53:32 -07:00
Lucian Copeland 68cb384f8f Remove logging from shared-bindings, fix translations, revert config target macro 2020-10-06 13:29:12 -04:00
hierophect e93a274f2f
Merge branch 'main' into esp32-analogin 2020-10-05 13:02:42 -04:00
Scott Shawcroft c27e3857b6
Merge branch 'main' into framebuffer-zero-size 2020-10-01 11:04:21 -07:00
Jeff Epler e477d27be3
Update shared-bindings/rgbmatrix/RGBMatrix.c
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2020-10-01 10:59:02 -05:00
Scott Shawcroft 5ac3c36d64
Merge pull request #3450 from mdroberts1243/New_quirk_for_SH1107
New quirk for sh1107
2020-09-30 12:03:10 -07:00
Mark Roberts 9f19a8a760
Ran pre-commit locally 2020-09-30 11:06:13 -07:00
Lucian Copeland 66b8559fd4 Change submodule, rework all includes 2020-09-30 11:26:07 -04:00
Jeff Epler 88cbf772df canio.CAN: clarify read-only status of several properties 2020-09-29 20:13:52 -05:00
Jeff Epler e4b9c16891 rgbmatrix: Check that the number of rgb pins is supported.
Having zero RGB pins may not have been caught, nor having a non-multiple-of-6
value.  Generally, users will only have 6 RGB pins unless they are driving
multiple matrices in parallel.  No existing breakouts exist to do this, and
there are probably not any efficient pinouts to be had anyway.
2020-09-29 19:55:31 -05:00
Jeff Epler 176b337611 rgbmatrix: validate width= constructor parameter
In #3482, @cwalther noted that, hypothetically, a zero byte allocation
could be made in the RGBMatrix constructor.  Ensure that width is positive.
Height was already checked against the number of RGB pins if it was specified,
so zero is ruled out there as well.
2020-09-29 19:44:25 -05:00
Jeff Epler d79f4e2662 canio: doc improvement -- don't needlessly call out deinit behavior 2020-09-29 14:32:27 -05:00
Jeff Epler 611f81ac1a canio: actually drop the _error_count properties
thanks @tannewt
2020-09-29 14:25:53 -05:00
Jeff Epler 1bea099eb2 Allow the _state_count properties to be unimplemented
This is the case on the SPI implementations MCP2515 and MCP2518.
2020-09-29 14:05:50 -05:00