Commit Graph

2420 Commits

Author SHA1 Message Date
Johny Mattsson 5b381d2f1e Added AES support to crypto module.
Merely a wrapper around the (undocumented) internal SDK AES functions.
2016-01-19 15:19:11 +11:00
Thomas Soëte 47b44229bf ws2812 data buffer
To create a size led long buffer:
buffer = ws2812.newBuffer(size);

To fill the buffer:
buffer:fill(g, r, b)

To get a particular led color:
g, r, b = buffer:get(index)

To set a particular led color:
buffer:set(index, g, r, b);

To send the buffer:
buffer:write(pin);
2016-01-18 17:21:08 +01:00
Thomas Soëte 51bb8a50ba Rewrite code to use UART1 instead of bit-banging.
It allows keeping interrupts enabled but force to use GPIO2.
2016-01-18 17:16:18 +01:00
Marcel Stör fd234d1d2c Merge pull request #950 from kfieldho/kfieldho/dht-doc-bugfix
Fix sample code bug (inconsistent variable names) in DHT example
2016-01-17 22:22:42 +01:00
Marcel Stör 4f330e4500 Merge pull request #946 from SebastianSchildt/fixds18b20
Fix unit constants to be consistent with code
2016-01-17 21:50:00 +01:00
Keith Fieldhouse 339f71ad75 Fix sample code bug (inconsistent variable names) in DHT example 2016-01-17 15:31:37 -05:00
Marcel Stör 5645827592 Fix link behind RTD badge 2016-01-17 17:22:46 +01:00
Terry Ellison dd2a0473e6 Merge pull request #947 from marcelstoer/dev-new-readme
Re-write README
2016-01-17 15:05:58 +00:00
Marcel Stör c989e297ab Re-write README, fixes #771 and contributes to #774 2016-01-17 15:45:37 +01:00
Sebastian Schildt 0863a4c221 Fix unit constants to be consistent with code
Extend example to show querying different units or specific sensors
2016-01-17 14:39:39 +01:00
Marcel Stör 82b19c4c37 Merge branch 'newdocs' into dev 2016-01-17 14:23:13 +01:00
Marcel Stör 96a05dcd41 Fix syntax for optional parameters for a few modules 2016-01-17 14:14:34 +01:00
Marcel Stör e86347acf3 Minor syntax fixes for the 1-wire docs 2016-01-17 14:05:41 +01:00
Arnim Läuger c7a40ea3ae fix introductory sentences for toc 2016-01-17 11:20:09 +01:00
Arnim Läuger cc975a947e move ow.reset 2016-01-17 11:13:11 +01:00
devsaurus 66eb0dfdb2 transferred ow module documentation 2016-01-17 11:10:51 +01:00
Marcel Stör 15577af881 Deactivate DE translation that was used for testing 2016-01-16 23:14:27 +01:00
Marcel Stör 9969c6b285 Final polishing on several pages 2016-01-16 23:11:40 +01:00
Marcel Stör 1dcb71618f Minor tweaks to FAQ 2016-01-16 15:26:19 +01:00
Marcel Stör 4609a88230 Fix font-size, it's odd and inconsistent in the theme 2016-01-16 15:25:48 +01:00
Marcel Stör 4afac3f5ab Replace I2C with I²C in the prose text 2016-01-16 15:09:44 +01:00
Marcel Stör b93f2ee8b1 Fix syntax in coap doc 2016-01-16 15:03:22 +01:00
Marcel Stör 8cbc5d6a05 Merge pull request #943 from funshine/newdocs
add a doc for coap module
2016-01-16 14:44:19 +01:00
Arnim Läuger e5f351e59b fix md links 2016-01-16 13:42:05 +01:00
devsaurus e48be07d8b ucg constants 2016-01-16 13:18:43 +01:00
devsaurus ce8b26501f feed the toc for u8g and ucg 2016-01-16 13:18:43 +01:00
Johny Mattsson bf0dc5e65f Avoid hard-coding the SDK version number in RTD. 2016-01-16 23:07:54 +11:00
Johny Mattsson a3ac4c80ba Documented HTTP module. 2016-01-16 22:59:08 +11:00
Marcel Stör 9efc4d5445 Add fix in TOC JavaScript for in-page anchors 2016-01-16 10:02:06 +01:00
Zeroday 57f8c1a25c add a doc for coap module
typo fix
2016-01-16 14:01:27 +08:00
Marcel Stör b03a669683 Add documentation for new wifi functions 2016-01-15 23:06:09 +01:00
Marcel Stör 6cc5af2fae Add JavaScript function to generate TOC on each module page 2016-01-15 22:34:33 +01:00
Terry Ellison 7e8c54890f Merge pull request #878 from dnc40085/dev_wifi_sta_Xethostname
Add functions: wifi.sta.sethostname and wifi.sta.gethostname
2016-01-15 08:56:37 +00:00
Johny Mattsson 16beb6afee Merge pull request #908 from elgarbe/dev_lm92
Add support for Temperature Comparison register set/get functions for LM92
2016-01-15 17:51:28 +11:00
Johny Mattsson 52e121f469 Merge pull request #887 from vowstar/dev-all-in-one
Add HTTP client module and documents.
2016-01-15 17:44:41 +11:00
Terry Ellison 2277aecd9b Merge pull request #938 from DiUS/rst-info-opt
Optimized node.bootreason() for size.
2016-01-15 01:21:25 +00:00
Johny Mattsson 0900958e92 Updated node.bootreason() to match latest dev merge. 2016-01-15 11:54:45 +11:00
Johny Mattsson 30f8f62420 Optimized node.bootreason() for size.
Reduces the size from 179 to 102 bytes.
2016-01-15 11:42:20 +11:00
Marcel Stör e1733f8d3a Remove extra comma in wifi docs 2016-01-15 00:00:49 +01:00
Marcel Stör 6480ba7282 Complete wifi docs transition 2016-01-14 23:27:38 +01:00
Marcel Stör d98b19daa2 Minor style fixes in the bm085 docs 2016-01-14 22:46:12 +01:00
devsaurus 2aeda1b475 link bmp085 module doc 2016-01-14 22:37:22 +01:00
Arnim Läuger 96585a5748 Merge pull request #936 from kbeckmann/bmp085-docs 2016-01-14 22:31:06 +01:00
Konrad Beckmann d426976e60 BMP085: bmp085.init() should return 0 2016-01-14 22:23:03 +01:00
Konrad Beckmann 5922fdba21 BMP085: Added documentation 2016-01-14 22:22:43 +01:00
Terry Ellison 74e5ebdf6d Merge pull request #935 from pjsg/fix-bootreason
Add the exccause parameter into the bootreason block
2016-01-14 17:11:37 +00:00
philip dc5cc6d9f4 Add the exccause parameter into the bootreason block 2016-01-14 08:16:26 -05:00
Johny Mattsson 2d82e622b6 Merge pull request #890 from vowstar/dev-fix-flash-api
Update flash_api due to flash size map is redefined by espressif.
2016-01-14 17:00:50 +11:00
Johny Mattsson 9772e7cdec Merge pull request #888 from dnc40085/patch-1
Fix problem in wifi.sta.getap where invidual result is lost.
2016-01-14 16:49:20 +11:00
Johny Mattsson f9c898c72d Merge pull request #932 from jfollas/spi-cpol
SPI: Implemented CPOL=1
2016-01-14 16:31:21 +11:00