Dan Halbert
3abee9b256
compiles; maybe ready to test, or almost
2020-11-22 21:52:37 -05:00
Dan Halbert
a0f1ec3c4a
wip
2020-11-22 19:10:09 -05:00
Dan Halbert
75559f35cc
wip: ResetReason to microcontroller.cpu
2020-11-21 23:29:52 -05:00
Dan Halbert
e4c66990e2
compiles
2020-11-20 23:33:39 -05:00
Dan Halbert
39e1f52e28
wip; not compiling yet
2020-11-19 17:47:12 -05:00
Dan Halbert
649c930536
wip
2020-11-19 15:43:39 -05:00
microDev
b56645808c
fix crash on user code exit
2020-11-19 11:44:22 +05:30
Dan Halbert
5bb3c321e9
merge from main
2020-11-19 00:29:14 -05:00
Dan Halbert
682054a216
WIP: redo API; not compiled yet
2020-11-19 00:23:27 -05:00
Jeff Epler
f61f8f999b
EPaperDisplay: add rotation property
...
untested, because I don't want to mess my magtag demo up :) but it builds
2020-11-18 18:06:31 -06:00
Lucian Copeland
0bbdf05936
Implement recvfrom_into and sendto for UDP
2020-11-17 16:11:04 -05:00
Scott Shawcroft
66fb095069
Merge pull request #3667 from microDev1/watchdog-s2
...
ESP32S2: Support for WatchDog
2020-11-16 15:01:54 -08:00
Dan Halbert
ffff02c053
Merge remote-tracking branch 'adafruit/main' into sleep
2020-11-16 12:06:11 -05:00
Dan Halbert
bb77f1d130
wip: initial code changes, starting from @tannewt's sleepio branch
2020-11-16 11:56:20 -05:00
Scott Shawcroft
78ccac930f
Add .busy property to EPaperDisplay
2020-11-13 18:57:52 -08:00
Scott Shawcroft
8d4296f964
Add board.DISPLAY to MagTag. Fix luma computation
...
* Initialize the EPaper display on the MagTag at start.
* Tweak the display send to take a const buffer.
* Correct Luma math
* Multiply the blue component, not add.
* Add all of the components together before dividing. This
reduces the impact of truncated division.
2020-11-13 18:57:52 -08:00
Scott Shawcroft
8d3a878152
Merge pull request #3681 from adafruit/6.0.x
...
Merge protomatter update back into `main`
2020-11-12 14:51:53 -08:00
Scott Shawcroft
9da99675b1
Correct display sequence format docs
2020-11-10 16:44:09 -08:00
Lucian Copeland
21ca1b8c2b
Merge remote-tracking branch 'upstream/main' into esp32s2-udp
2020-11-10 14:59:32 -05:00
microDev
10e8b8cf45
move port specific check
2020-11-11 00:24:01 +05:30
Jeff Epler
0ff20cdd85
RGBMatrix: Detect invalid bit_depth selection
...
Closes : #3650
2020-11-09 08:27:46 -06:00
gamblor21
4c93db3595
Renamed to adafruit_bus_device
2020-11-03 18:35:20 -06:00
gamblor21
197539bd82
Moved I2CDevice and SPI to match python library
2020-11-03 17:30:33 -06:00
Scott Shawcroft
9bf77905e3
Merge pull request #3622 from sw23/main
...
Fixing remaining stub mypy issues + run check-stubs to CI
2020-11-02 18:16:32 -08:00
sw23
88fcf4ef7e
Removing implementation-specific values for socket/socketpool class attributes
2020-11-02 19:59:07 -05: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
Dan Halbert
144eb131ae
Merge pull request #3627 from adafruit/6.0.x
...
Merge 6.0.x bugfixes to main
2020-10-31 12:28:20 -04:00
sw23
1f179b3317
Adding socket and socketpool class attributes
2020-10-30 23:19:27 -04:00
sw23
6a63d20a5d
Fixing remaining stub mypy issues + run check-stubs to CI
2020-10-30 18:56:40 -04:00
sw23
9f3a1fe27b
Fixing stub for wifi_radio_ping
2020-10-30 01:29:58 -04:00
sw23
ad166ca479
Fixing make stub warnings and mypy issuesmak
2020-10-29 20:15:34 -04:00
gamblor21
e7da852db7
Fixing review comments
2020-10-29 16:13:03 -05:00
Scott Shawcroft
7fd73c7d39
Initial UDP work. Need to test
2020-10-28 18:08:31 -07:00
Scott Shawcroft
7cbc50962b
Merge pull request #3611 from tannewt/esp32s2_eink_portal
...
Add Adafruit ESP EInk Portal and grayscale EInk support
2020-10-28 14:45:29 -07:00
Scott Shawcroft
9a4efed8cb
Start tweaking the workflow to sleep
2020-10-27 17:55:03 -07:00
Scott Shawcroft
85dadf3a56
More API changes
2020-10-27 16:18:39 -07:00
Scott Shawcroft
1196d4bcf6
move to new module
2020-10-27 16:18:38 -07:00
microDev
930cf14dce
Add check for invalid io, function to disable all alarms
2020-10-27 16:17:26 -07:00
microDev
e35938971a
Add description of alarm modules
2020-10-27 16:16:55 -07:00
microDev
59df1a11ad
Add alarm_touch module
2020-10-27 16:16:52 -07:00
microDev
da449723df
Fix build error
2020-10-27 16:16:15 -07:00
microDev
4d8ffdca8d
restructure alarm modules
2020-10-27 16:15:09 -07:00
microDev
e5ff55b15c
Renamed alarm modules
2020-10-27 16:13:25 -07:00
microDev
21ba61afbb
Add function to disable alarm
2020-10-27 16:13:25 -07:00
microDev
05a3f203db
Add function to get time elapsed during sleep
2020-10-27 16:13:25 -07:00
microDev
e310b871c8
Get io wake working
2020-10-27 16:13:25 -07:00
microDev
90b9ec6f2c
Initial Sleep Support
2020-10-27 16:13:22 -07: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
Scott Shawcroft
0d1649880f
Add grayscale EInk support
2020-10-26 16:59:59 -07:00
gamblor21
8a379830a8
Added doc and translations
2020-10-26 16:54:24 -05:00
Christian Walther
99a3750a2c
Fix lost board.SPI and board.I2C after explicitly deiniting them.
...
After calling board.SPI().deinit(), calling board.SPI() again would return the unusable deinited object and there was no way of getting it back into an initialized state until the end of the session.
2020-10-26 22:44:38 +01:00
Jeff Epler
c9f7df3bab
canio: Give implementation-specific limits for CAN.Listen
2020-10-26 10:06:49 -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
Jeff Epler
03bd968450
more doc improvements
2020-09-28 19:56:19 -05:00
Jeff Epler
979ec3a458
can: RemoteTransmissionRequest: remove duplicate docstrings
2020-09-28 19:47:06 -05:00
Ryan T. Hamilton
2a4a244245
Add ap_ssid and ap_bssid
2020-09-28 17:25:09 -07:00