Commit Graph

32 Commits

Author SHA1 Message Date
TerryE 4ae52c232c Alpha working wersion for third party evaluation 2018-03-17 00:43:52 +00:00
Marcel Stör e0f811dd2b Fix the use of the term "Lua" 2017-12-25 11:40:33 +01:00
Marcel Stör ded599f8ba Add missing admonitions (#2107)
Amends #2064
2017-10-19 10:00:41 +02:00
Marcel Stör 082015ebdc Add doc link for bootreason EXCCAUSE 2017-08-27 21:26:14 +02:00
dnc40085 b2cbf52a4b Fix error in documentation added with merge of PR#1231 (#1901) 2017-04-05 06:57:10 +02:00
dnc40085 41a5736d78 Add wifi.suspend() and node.sleep() (#1231)
* Exposed forced sleep API and more
Added timer suspend functionality
* wifi.suspend
* wifi.resume
* node.sleep 
* tmr.suspend
* tmr.suspend_all
* tmr.resume
* tmr.resume_all
* Implement timer suspend functionality
* Fix for uart TX glitch
* Made some modifications to the error reporting
2017-04-04 21:31:06 +02:00
Johny Mattsson 45ae795739 Extend node.dsleep() to support instant sleep. (#1859) 2017-03-14 10:49:41 +01:00
Jason Follas 2ab28df92a Support clearing WiFi config (#1761)
* Add wifi.sta.clearconfig(). Adjust password validation to match 2.0.0 SDK rules (no min length enforced, i.e. for WEP)
* Updat comments about WEP key not having a minimum
* Documentation: add note about node.restore() to wifi.sta.clearconfig() docs, and add SDK verbiage to describe what node.restore() impacts.
* Normaliz if statements
* Convert leading tabs to leading spaces for consistency
2017-02-08 21:42:29 +01:00
Philip Gladstone 543f438b6b Added node.random implementation (#1665) 2016-12-26 14:14:49 +01:00
Marcel Stör d96d7f237f Document node.flashsize(), fixes #1510 (#1511) 2016-10-01 13:44:24 +02:00
Marcel Stör 11436d8dad Fix typo 2016-09-18 21:31:54 +02:00
Marcel Stör 07aa210c50 Remove DEVKIT_VERSION_0_9 and deprecated functions (#1439) 2016-08-04 23:03:37 +02:00
Marcel Stör 0bbce6f845 Set admonition types correctly (subjective) 2016-07-14 22:52:30 +02:00
Johny Mattsson 30d354c290 Rework ADC mode setting approach (#1285)
- Stop fighting against the SDK in terms of owning/writing the init_data block.
  NodeMCU included a default init_data block because originally the SDK did
  not, but by now it's not needed.

- Expose a way to reconfigure the ADC mode from Lua land. With most people
  using the cloud builder and not able to change the #define for byte 107
  this has been a pain point.

- Less confusion about which init_data has been used. Lua code can now simply
  state what mode it wants the ADC to be in, and not worry about the rest of
  the init_data complexities such as the init_data changing location due to
  flashing with wrong flash_size setting, or doing/not doing a chip-erase
  before loading new NodeMCU firmware.
2016-05-18 21:45:15 +02:00
philip 84487d300b Remove unusedcode 2016-03-20 12:54:16 -04:00
Johny Mattsson eff1b6fbc1 Merge pull request #1120 from marcelstoer/dev-modules-list
Add meta-info block to every module doc page
2016-03-08 09:54:37 +11:00
TerryE acddf29fb0 Address Philip's review comments 2016-03-06 17:11:18 +00:00
Marcel Stör 202cc1a12a Add meta-info block to every module doc page 2016-03-06 08:56:28 +01:00
TerryE 9977b13bcd Update to address review comments in PR #1105 2016-03-03 15:48:09 +00:00
TerryE 4f8f192cbe Extend the node library to include a Lua implementation of task posting 2016-03-01 23:37:41 +00:00
TerryE 69cf9ac139 Correct typos in the node documentation 2016-02-24 23:29:35 +00:00
TerryE 0ef362472c Add node.egc.setmode() + constants as per #609 2016-02-20 19:15:52 +00:00
Johny Mattsson 0900958e92 Updated node.bootreason() to match latest dev merge. 2016-01-15 11:54:45 +11:00
Johny Mattsson f53ba03967 Updated node.bootreason() documentation. 2016-01-13 16:04:59 +11:00
Marcel Stör affa61ecd2 Re-add syntax where missing and remove example if trivial 2016-01-08 22:39:07 +01:00
Marcel Stör 94f407a269 Fix merge conflicts 2016-01-08 21:17:16 +01:00
Marcel Stör f1461c2e14 Tweak theme and update a few modules for consistency 2016-01-08 20:49:56 +01:00
devsaurus ebcf6b771e fix delimiters after list 2016-01-07 00:33:52 +01:00
Johny Mattsson 802e1179cd Added node about maximum dsleep time to node docs. 2016-01-05 12:26:41 +11:00
Johny Mattsson f35ea62670 Documented previously undocumented node functions. 2016-01-05 11:17:20 +11:00
Johny Mattsson 63ccdd0608 Transferred node module documentation. 2016-01-05 11:00:16 +11:00
Marcel Stör 3e68026d7b Rename DIR to dir and improve JavaScript for RTD 2015-12-28 17:25:00 +01:00