Commit graph

83 commits

Author SHA1 Message Date
brentru
aeae91ec1d test the pixel attributes within pixel_status 2019-06-11 12:11:30 -04:00
brentru
d21b70993a add an externally defined rgbled status_led to _wifimanager 2019-06-11 10:32:35 -04:00
brentru
596b879ab4 frequency should return, not raise 2019-06-07 11:17:02 -04:00
brentru
c91622442b set freq 2019-06-07 11:14:12 -04:00
brentru
64ca443967 correct pin in attrerror, fixup docstrings 2019-06-07 11:00:38 -04:00
brentru
6fcb231a47 Adding pwmout back in 2019-06-07 10:45:45 -04:00
brentru
8599c0124b add credit to where credit is due :) 2019-06-06 17:16:23 -04:00
brentru
4923344d95 checking in digitalio, ready 2019-06-06 16:30:27 -04:00
brentru
6a0c036995 pylinting - 8.79/10, look at drivemode/direction classes... 2019-06-06 15:31:49 -04:00
brentru
5e97cb1fcd add switch_to_x methods, docstrings 2019-06-06 15:01:22 -04:00
brentru
00e7f97453 drop all pull functionality since we dont have it defined in adafruit_esp32spi.py 2019-06-06 13:01:43 -04:00
brentru
777289474f add valid pin tupleset check before initialization, raise error 2019-06-06 12:44:53 -04:00
brentru
4df8144a91 add first mock api, blinks! 2019-06-06 11:53:59 -04:00
anecdata
c25157e6b1 Make timeout a keyword argument 2019-06-04 09:47:09 -05:00
Limor "Ladyada" Fried
ac4aee5d8a
Merge pull request #42 from ZachNo/socket_hang_fix
Fixed infinite loop when socket readline fails
2019-05-24 20:27:05 -04:00
Zachary N
bf54a08358
Update adafruit_esp32spi/adafruit_esp32spi_socket.py
Co-Authored-By: Craig <cpforbes@starlake.org>
2019-05-18 22:43:18 -07:00
Craig Forbes
83f46d289b Fix timeout handling in socket.read(). A timeout of zero will now block as
documented.
Handle optional parameter conntype in socket.connect().
2019-05-10 15:28:48 -05:00
Zach Nofz
79425a6879 Fixed infinite loop when socket readline fails
In certain cases, the socket may not receive a full response (or any
response), causing the while loop in readline to go on forever. After
failing to receive any data, this fix will raise an exception and fail
out.
2019-05-06 00:02:07 -07:00
Craig Forbes
4ebc502faf Fix import so debug works in ESPSPI_WiFiManager.
Made status_pixed optional to match docs.
2019-04-25 21:09:15 -05:00
Craig Forbes
11c2bfbc2a Fix socket leak when exception is raised in request.
Added __enter__ and __exit__ to Response for as with context manager.
2019-04-25 21:09:15 -05:00
Craig Forbes
86c29847f0 Add debug print in socket_close. Remove tab characters. 2019-04-25 21:09:15 -05:00
Craig Forbes
fcf5feb085 Fix pylint complaints. 2019-04-22 20:46:47 -05:00
Craig Forbes
c713122344 Add commands for setting GPIO pins. 2019-04-22 20:07:44 -05:00
Craig Forbes
98cfc0e89b Add set_esp_debug command to enable debugging on the ESP32. 2019-04-22 20:05:16 -05:00
Dustin Mollo
a9fd632545 Added support for WPA2 Enterprise, including example code. 2019-04-05 10:02:55 -07:00
anecdata
c35d7fb3c4 Encode header string components to (ASCII) bytes. 2019-03-09 13:46:25 -06:00
Melissa LeBlanc-Williams
bdd0b5e724 Clear the headers in the init 2019-03-08 16:54:28 -08:00
Melissa LeBlanc-Williams
aaa5631a6c
Merge pull request #17 from brentru/update-comments-for-pixel
Change neopixel comments to pixel
2019-02-26 19:45:09 -08:00
Melissa LeBlanc-Williams
f4052883a1
Merge pull request #18 from brentru/expose-rssi
expose rssi from a method in wifimanager
2019-02-26 19:44:30 -08:00
brentru
3ad86b37c6 switch to status led 2019-02-26 22:04:44 -05:00
brentru
ce5a9f507a expose rssi from a method in wifimanager 2019-02-26 18:53:00 -05:00
brentru
1fee9ce300 neopixel->pixel in comments 2019-02-26 18:44:33 -05:00
brentru
6ce69bde35 expose the IP address from wifimanager 2019-02-26 18:33:18 -05:00
Melissa LeBlanc-Williams
24e42bad50
Linting 2019-02-26 10:51:40 -08:00
Melissa LeBlanc-Williams
93545d741b
Fixed docstring for neopixel 2019-02-26 10:48:08 -08:00
Melissa LeBlanc-Williams
d1a3a4281f Abstracted Status Pixel to make DotStar usable 2019-02-26 09:59:47 -08:00
ladyada
1434532c71 update settings to secrets 2019-02-23 17:23:51 -05:00
ladyada
82317c85f9 add docstring for timeout 2019-02-23 17:19:48 -05:00
ladyada
4c01b8dd86 dox and packet size 2019-02-23 17:19:48 -05:00
Dan Halbert
4f65676ec6 import either json or ujson 2019-02-21 17:35:40 -05:00
Melissa LeBlanc-Williams
2bd2a3b9d2 Changed WiFi is use to blue because yellow can mean safe mode/error 2019-02-19 09:40:52 -08:00
Melissa LeBlanc-Williams
41f7c256e1 Small bug fix 2019-02-19 08:52:18 -08:00
Melissa LeBlanc-Williams
b878f96583 Removed attempt code from get/post. Examples reset. 2019-02-19 08:49:42 -08:00
Melissa LeBlanc-Williams
73c4a56ba8 Merge branch 'master' of https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI 2019-02-19 08:15:36 -08:00
brentru
ef08587ff1 expose put/patch/delete methods from _requests in _wifimanager 2019-02-19 10:26:22 -05:00
Melissa LeBlanc-Williams
4b56b5403a Actually saved before pushing code this time 2019-02-18 11:15:30 -08:00
Melissa LeBlanc-Williams
cd633725d2 Added reset to the get and post methods on error 2019-02-18 10:59:11 -08:00
Melissa LeBlanc-Williams
3034250354 Fixed error introduced from Linting 2019-02-18 10:12:45 -08:00
Melissa LeBlanc-Williams
8be610cd4b Linting 2019-02-18 09:51:29 -08:00
Melissa LeBlanc-Williams
a7b8d4aa8c Added reset after a certain number of attempts 2019-02-18 09:46:26 -08:00