Commit Graph

1583 Commits

Author SHA1 Message Date
Johny Mattsson 91b2533aa6 Merge pull request #965 from devsaurus/platform-gnu11
Enable -std=gnu11 for platform and driver dir.
2016-01-24 01:23:27 +11:00
Terry Ellison 85bd7bbeda Merge pull request #951 from Alkorin/ws2812-uart
Rewrite ws2812 serialization code to use UART1 instead of bit-banging.
2016-01-23 10:42:56 +00:00
devsaurus 9f54c8f5d4 enable -std=gnu11 for driver dir with corrected os_printf* decls 2016-01-23 11:22:03 +01:00
devsaurus 0c3fc6cc78 enable -std=gnu11 for platform dir 2016-01-22 23:21:34 +01:00
Arnim Läuger 3b589e2177 Merge pull request #958 from DiUS/modules-gnu11
Enable -std=gnu11 for modules dir.
2016-01-22 23:20:29 +01:00
Johny Mattsson 0cd287e67b Added -Wimplicit to modules build.
Plus associated fixes.
2016-01-22 10:55:57 +11:00
Terry Ellison aac9824364 Merge pull request #955 from zhujunsan/dev
Fix example code in WiFi Module Doc
2016-01-20 10:25:34 +00:00
Terry Ellison a4e7885a6e Merge pull request #923 from DiUS/spiffs-alignment-fix-915
Ugly workaround for broken SPIFFS GC alignment.
2016-01-20 09:48:47 +00:00
Johny Mattsson 182d45f928 Enable -std=gnu11 for modules dir.
Plus boat-load of fixes to actually make that build.
2016-01-20 19:40:47 +11:00
San 598b098184 Fix example code in WiFi Module Doc 2016-01-20 09:34:45 +08:00
Terry Ellison 5cbea0a61f Merge pull request #952 from DiUS/crypto-aes
Added AES support to crypto module.
2016-01-19 15:28:11 +00:00
Terry Ellison 8fd5c1c0bc Merge pull request #953 from zhujunsan/dev
Fix example code in HTTP Module Doc
2016-01-19 10:24:14 +00:00
San 3983dbcac9 Fix example code in HTTP Module
syntax error
2016-01-19 16:34:25 +08:00
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