Commit Graph

419 Commits

Author SHA1 Message Date
Marcel Stör 0bf035aadc Fix gpio.pulse admonition 2018-02-15 07:10:20 +01:00
Marcel Stör 8d2c523aab Fix WS2812 effects documentation 2018-02-13 12:34:04 +01:00
Marcel Stör f404627428 Mention that PyFlasher now offers .dmg for macOS 2018-02-12 12:58:51 +01:00
Pawel Jasinski 2a944026c5 introduced sign into read and startread (#2246)
in float build, uV and sign are included in mV
in int build, uV and mV are absolute, sign is -1, 0, 1
added rounding of uV values
added optional test function
2018-02-07 21:29:17 +01:00
Marcel Stör 555b5574a2 Add sjson streaming example
Fixes #2209.
2018-02-04 12:45:27 +01:00
Pawel Jasinski f87d68ff8f added support for ads1015 (#2231)
* ads1015 is supported, up to 4 devices can be connected at the same time

* removed debug, updated documentation

* changed to oop API

* added __gc to handle active timer cleanup

* reworked argument validation and error reporting

* stack is no longer messed up after __del
2018-01-29 22:21:16 +01:00
Konrad Hübner ed56d949ee ws2812 effects library (#2215)
* ws2812 effects and color utils modules added

* Added documentation for new modules to mkdocs.yml

* changed mode option to string, documentation, default modules fixed

* updated user_modules.h
2018-01-23 21:05:04 +01:00
Luiz Felipe Silva df930c2d03 Add sqlite3 module (#2008)
* add final sqlite3 patch
* remove unused defines, join caching code with esp vfs code to reduce exported symbols and shrink final file size
* Modules should by default be disabled and in alphabetical order
2018-01-10 22:45:56 +01:00
Philip Gladstone ceadd30bca Add support for the wifi monitor mode in the SDK (#2204) 2018-01-10 21:24:41 +01:00
Philip Gladstone 77fe51050a Addition of gpio.pulse functions (#2190) 2018-01-10 21:08:39 +01:00
Arnim Läuger 0e491e869f remove guidance to fall back to 1.5.4.1 for 512Kb modules (#2222) 2018-01-10 07:17:12 +01:00
Marcel Stör e0f811dd2b Fix the use of the term "Lua" 2017-12-25 11:40:33 +01:00
Marcel Stör 3747d7cbe0 Minor update flashing docs 2017-12-18 21:54:41 +01:00
Philip Gladstone 9aebc84b72 Add support of counting of interrupts (#2149)
* Add support of counting of interrupts

* Update the timestamp when interrupt happens during dispatch. Also
clear out interrupts when setting up a new callback
2017-12-17 21:42:54 +01:00
Marcel Stör 368c25db8b
Add WiFi mode documentation (#2191) 2017-12-17 15:48:57 +01:00
Philip Gladstone ef91580c7b Addition of a Bloom Filter object (#2176)
* Initial checkin
* Add bloom.md into mkdocs
* Added reset and improved info
* Update bloom.c
* Update bloom.md
* Add Wikipedia link
2017-12-03 13:10:59 +01:00
Lukáš Voborský 87a6a9bdb9 Add BME680 module (#2151) 2017-11-19 20:49:07 +01:00
Marcel Stör a037e842b3 Enhance setmaxtxpower description 2017-11-19 20:21:29 +01:00
Mark Deneen 4af68d8360 WiFi method to adjust maximum TX power (#2171) 2017-11-19 20:00:20 +01:00
Mark Deneen b2ce0e8581 fix example which is not intended to write to flash, but actually was (#2174) 2017-11-18 22:40:36 +01:00
Marcel Stör ded599f8ba Add missing admonitions (#2107)
Amends #2064
2017-10-19 10:00:41 +02:00
dbaumgarten ec6ed6f868 Better documentation for mqtt:lwt() (#2128) 2017-10-06 00:31:41 +02:00
dnc40085 7946deadab Added boolean return value for wifi.sta.sethostname (#2079)
- simplified wifi_change_default_host_name
- refactored code that checks hostname for compliance
2017-09-15 22:38:35 +02:00
Marcel Stör 4324ea0dcd Correct typo
Fixes #2103
2017-09-14 20:46:22 +02:00
Marcel Stör ce1712d1c1 Add additional note wrt rtctime 2017-08-31 22:57:32 +02:00
Marcel Stör ee3d72f5f2 Fix markdown syntax 2017-08-31 22:55:11 +02:00
Marcel Stör 9f022e9856 Manually applying changes from #2093 2017-08-31 22:46:57 +02:00
Marcel Stör 082015ebdc Add doc link for bootreason EXCCAUSE 2017-08-27 21:26:14 +02:00
Marcel Stör 0a11e84f36 Add note to BME280 docs
A delay is required between `setup` and reading from sensor.

Fixes #1994.
2017-08-22 22:22:36 +02:00
Marcel Stör 003c2453c3 Add note to mqtt:subscribe
Fixes #2039
2017-08-22 22:05:24 +02:00
Marcel Stör c4440e47ba Link ds18b20 C/Lua module docs 2017-08-16 21:32:04 +02:00
fetchbot d079b842a8 add ds18b20 module (#2003)
* add ds18b20 module
* add intitial eeprom value definition
* adjust read() function and address handling
2017-08-16 21:04:23 +02:00
wolfg 61562b45bd Fix typo in code sample (#2063) 2017-08-05 22:10:49 +02:00
Philip Gladstone d93465cd86 Add tracking and control of the rate error in the clock crystal. (#1697)
* Improve RTC timekeeping -- includes clock rate tracking
* Improved division by 1M
* Fix crash in sntp
* Disable RTC debug
* Get the offset correct
* Add comments on where the mysterious numbers came from
* Fix a crash with auto repeat mode and errors on repeat
2017-07-18 22:51:20 +02:00
dnc40085 9edcce5b44 Update wifi.sta.config to save configuration to flash by default (#1998) 2017-07-08 22:51:33 +02:00
dnc40085 2e33abe198 Modify wifi.sta.get*config() to return AP's MAC (#2026)
* Modified wifi.sta.get*config() to return AP's MAC even if bssid_set==0
* Improved documentation for wifi.sta.getapinfo, fixes #2025
2017-07-08 22:49:02 +02:00
Marcel Stör 4ce2d68301 Add missing period 2017-07-01 18:32:44 +02:00
Gregor Hartmann 15b4fa24fd Call HTTP callback in all cases (#2020)
* fix 2007 Call callback in all cases, call callback with errorcode -1 if no connection could be establioshed
* change logging from ERR to DEBUG
* make debug output more clear (hopefully)
* add handling of errors to docs, note error handling on every call instead of only in the main documentation
2017-07-01 18:29:54 +02:00
dnc40085 4095c26bd0 Update documentation for wifi.sta.setaplimit() (#2017) 2017-06-28 10:02:09 +02:00
Marcel Stör 583afc0f33 Remove hardware FAQ, fixes #2015 2017-06-27 17:17:28 +02:00
Arnim Läuger 26df4a32ad Change default flash mode to 'dio' in fw image header (#2013) 2017-06-25 20:41:36 +02:00
Terry Ellison 827642b49a Version 2.0 of the Lua Develoer FAQ (#1899) 2017-06-19 07:47:02 +02:00
dnc40085 2c553583ea Fixed incorrect documentation for wifi.sta.setaplimit (#1986) 2017-05-24 09:37:21 +02:00
dnc40085 e90ffb4266 Add mcp4725 module (#1966) 2017-05-21 16:30:26 +02:00
dnc40085 169cb69ee2 Add event callbacks to wifi.sta.config() and wifi.ap.config() and more (#1903)
* Add event callbacks to wifi.sta.config() and wifi.ap.config() and more

Added option to register event callbacks during configuration of both
station and AP.
Added option to register event callbacks to `wifi.sta.connect()` and
`wifi.sta.disconnect()`

* Add note about event registration to wifi module documentation

Other minor changes to wifi documentation are also included

* Add more detail to documentation for wifi.sta.config()
2017-05-21 16:18:56 +02:00
dnc40085 7b1f0223ad Removed wifi station event monitor (#1900)
The following functions were removed:
 - `wifi.sta.eventMonReg()`
 - `wifi.sta.eventMonStart()`
 - `wifi.sta.eventMonStop()`
 
The corresponding documentation has also been removed

This PR addresses issue #1893
2017-05-21 16:17:54 +02:00
Arnim Läuger 7dae5236e6 Deprecate xyz.init() in favor of xyz.setup(), removing inherent i2c configuration (#1887) 2017-05-21 16:17:29 +02:00
Arnim Läuger 787379f0f5 Merge branch 'master' into dev 2017-05-21 09:34:31 +02:00
Arnim Läuger 4e4dfc1d88 Align 8 MB & 16 MB flash sizes with SDK 2.1.0. (#1968)
* align 8MB and 16MB auto flash support with sdk 2.1.0
* remove SAFE_API
* fix flash size mismatch detection logic
2017-05-16 16:50:36 +02:00
dnc40085 447fcd397d Exposed wifi event OPMODE_CHANGED. (#1967) 2017-05-15 09:05:22 +02:00