Commit Graph

89 Commits

Author SHA1 Message Date
Nathaniel Wesley Filardo 161c855580 lua_examples/telnet: small tweaks (#2455)
* Remove the old telnet.lua, which has been duplicated as
  simple_telnet.lua.

* Fix some typos and whitespace issues
2018-08-27 12:46:39 +01:00
Terry Ellison add0938d81
LFS documentation and example updates (#2458)
Updates to LFS documentation and the LFS HTTP_OTA module before release to master
2018-08-22 11:09:04 +01:00
Nathaniel Wesley Filardo e896face0c LFS: small tweaks to docs and examples (#2454) 2018-08-11 13:48:46 +02:00
devsaurus 87bb96dfbe port u8g2 module from esp32 platform 2018-07-22 13:51:10 +02:00
Gregor Hartmann 2d2c189a66 Add checking of Lua sources to travis build (#2423) 2018-07-16 07:48:47 +02:00
Jedrzej Jajor 46236dd091 Fixed missing wifi module name. 2018-07-08 16:13:11 +02:00
TerryE c6ba33b749 New Telnet module 2018-07-01 23:42:45 +01:00
TerryE 2ab061f510 merge current dev to resolve update conflcts in node.c 2018-06-22 22:44:19 +01:00
TerryE 4f21224d56 LFS patch updates following review II and testing 2018-06-22 22:29:16 +01:00
Gergo Huszty 2cc195d5c9 webap_toggle_pin.lua HTML warnings and typos fixed (#2394) 2018-06-04 13:16:20 +02:00
TerryE 88bd9e01d3 LFS patch updates following review 2018-04-19 16:27:47 +01:00
Marcel Stör 555b5574a2 Add sjson streaming example
Fixes #2209.
2018-02-04 12:45:27 +01:00
Terry Ellison 26540cf098 LuaOTA provisioning system (#2060) 2017-10-28 23:22:34 +02:00
Philip Gladstone b09cac058a Add support for streaming JSON encoder/decoder (#1755)
Replaces the problematic cjson module.
2017-03-22 11:24:32 +11:00
Jonathan Karras 725feade27 Update DS18b20 examples (#1851)
- Remove old non-async examples from `lua-examples`.
- Rename `ds18b20.EN.md` to `README.md`
- Change remaining `toBase64` calls to the more standard `toHex` call.
- Fix some spelling and markdown formatting issues in README file.

Addresses issue #1841
2017-03-10 22:10:49 +01:00
Philip Gladstone c0848ec66f Sample code for timezone handling (#1853) 2017-03-10 22:09:36 +01:00
Arnim Läuger 46dc9eaeb3 fix pcm examples to comply with current code base (#1720) 2017-01-11 21:11:38 +01:00
Thomas Mohaupt 61d20a75e2 Dev (#1698)
* Toogle between full screen and clip range test
2017-01-02 21:45:06 +01:00
vsky 880bd9850b Somfy/TELIS driver (#1521) 2016-10-14 07:49:58 +09:00
Marcel Stör 5f340f5f48 Delete http-client.lua (#1448) 2016-08-10 21:45:26 +02:00
Arnim Läuger d416648990 Add pcm module. (#1255)
* Add pcm module.
* Add network streaming example.
* document hw_timer dependency with pwm
* Add vu peak callback.
2016-06-05 23:21:36 +02:00
Arnim Läuger ae873b70c6 Add caching for multi-byte transfers (#1247)
* add caching for multi-byte transfers
handle HSPI /CS in examples

* push similar code snippets into macro
2016-06-04 00:18:19 +02:00
Marcel Stör bd17b295ba Change upper/lower case 2016-06-01 11:16:41 +02:00
Marcel Stör 08aff66c29 Delete http_server.lua, fixes #1196 2016-05-27 13:32:56 +02:00
Arnim Läuger 25b4285c4d update examples to task posting (#1249) 2016-04-18 13:35:07 +02:00
UncleRedz 7e0b58b950 Corrected typo in u8g documentation and added a new u8g example which demonstrate a draw loop that works correctly with WiFi. 2016-03-29 06:18:26 +02:00
devsaurus ee96273191 Remove lua modules with equivalent ones in app/modules. 2016-02-14 23:03:33 +01:00
Marcel Stör 08921c9871 Transfer HTTP client examples to lua_examples/
Fixes #941
2016-01-25 20:33:21 +01:00
Terry Ellison 94402443f2 Merge pull request #910 from devsaurus/dev-gcfix
Remove superfluous collectgarbage() in webap example
2016-01-07 22:50:45 +00:00
devsaurus 07c1a28d4d remove ; and dangling spaces 2016-01-07 23:08:44 +01:00
devsaurus 626e7d3c91 close connection on sent instead on receive 2016-01-07 23:00:24 +01:00
devsaurus 5a6975b343 remove superfluous collectgarbage() 2016-01-06 23:51:21 +01:00
devsaurus 87351a2d10 consolidate telnet example 2016-01-06 23:18:42 +01:00
devsaurus ff3926175c add fifo to fit new sdk behavior 2016-01-06 22:18:11 +01:00
Nick Andrew 0a7b730e23 Support DS18S20 and fix negative temp handling
The DS18S20 has only 1 fractional bit whereas DS18B20 has 4, and their
temperature register alignment differs. Check the family code to choose
the correct multiplier for both devices.

Closes #610

Negative temperatures (less than 0°C) are returned as a sign-extended
two's complement number. Subtract 0x10000 to recover the proper
negative value.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-11-16 23:32:20 +11:00
devsaurus 26f4bc7957 ensure backwards compatibility of exising api functions 2015-10-18 11:13:57 +02:00
devsaurus c3680f8291 update examples and doc to api change 2015-10-18 11:13:56 +02:00
devsaurus 55e8565a2d adapt examples to clock_div parameter 2015-10-04 17:03:18 +02:00
devsaurus 5a29bab438 Merge pull request #655 from devsaurus/dev-ucglib
Add bindings for ucglib
2015-10-03 20:24:24 +02:00
devsaurus 4e235d8461 improve u8g lua examples 2015-09-24 23:18:34 +02:00
devsaurus 154b456f11 extend ucg example with ST7735 display 2015-09-17 22:37:31 +02:00
devsaurus f0d581223f UcgLogo example - fix drawGlyph and drawString 2015-09-17 21:53:48 +02:00
devsaurus 5c93ba017e finish GraphicsTest.lua 2015-09-17 21:53:48 +02:00
devsaurus ac1b5a1173 extend ucg module 2015-09-17 21:53:48 +02:00
devsaurus 6fd106afac added more displays:
sh1106_128x64_i2c
    ssd1306_64x48_i2c
    ssd1309_128x64_i2c
    ssd1327_96x96_gr_i2c
    uc1611_dogm240_i2c
    uc1611_dogxl240_i2c
    ld7032_60x32_hw_spi
    pcd8544_84x48_hw_spi
    pcf8812_96x65_hw_spi
    sh1106_128x64_hw_spi
    ssd1306_64x48_hw_spi
    ssd1309_128x64_hw_spi
    ssd1322_nhd31oled_bw_hw_spi
    ssd1322_nhd31oled_gr_hw_spi
    ssd1325_nhd27oled_bw_hw_spi
    ssd1325_nhd27oled_gr_hw_spi
    ssd1327_96x96_gr_hw_spi
    ssd1351_128x128_332_hw_spi
    ssd1351_128x128gh_332_hw_spi
    ssd1351_128x128_hicolor_hw_spi
    ssd1351_128x128gh_hicolor_hw_spi
    ssd1353_160x128_332_hw_spi
    ssd1353_160x128_hicolor_hw_spi
    st7565_64128n_hw_spi
    st7565_dogm128_hw_spi
    st7565_dogm132_hw_spi
    st7565_lm6059_hw_spi
    st7565_lm6063_hw_spi
    st7565_nhd_c12832_hw_spi
    st7565_nhd_c12864_hw_spi
    uc1601_c128032_hw_spi
    uc1608_240x128_hw_spi
    uc1608_240x64_hw_spi
    uc1610_dogxl160_bw_hw_spi
    uc1610_dogxl160_gr_hw_spi
    uc1611_dogm240_hw_spi
    uc1611_dogxl240_hw_spi
    uc1701_dogs102_hw_spi
    uc1701_mini12864_hw_spi
2015-07-20 23:11:13 +02:00
devsaurus 8bd3d7d2bf introduce lua_api_name parameter when building the display table
keeps the API as before and gets rid of hw_spi vs sw_spi topics
2015-07-19 21:57:14 +02:00
devsaurus 1bc156e4d1 move display constructors into template-based functions
+ uniform generaration
+ addition of further displays
- slight unneccesary heap allocation when display drivers are included but not used
2015-07-16 23:23:43 +02:00
HuangRui 3cd5a6a1ed Merge branch 'master' of https://github.com/bruceme/nodemcu-firmware into dev
Conflicts:
	app/modules/net.c
2015-06-04 15:04:12 +08:00
BruceMe 46a07700fb Rename http_server to http_server.lua 2015-05-31 09:09:23 -05:00
BruceMe d1fe4e620a HTTP Server for LED/Servo
A simple yet robust HTTP server that can parse GET parameters and turn on/off a light or set the position of a servo.
2015-05-31 09:09:05 -05:00