1. 17 Feb, 2016 1 commit
    • TerryE's avatar
      Add New Tasking I/F and rework GPIO, UART, etc to support it · 49733f6f
      TerryE authored
      As with the last commit this rolls up the follwowing, but include the various
      review comments on the PR.
      
      -   **Documentation changes**. I've added the taks FAQ as a stub new Extension
      developer FAQ, and split the old FAQ into a Lua Developer FAQ and a Hardware
      FAQ.
      
      -   **Tasking I/F**.  New `app/task/Makefile`, `app/task/task.c`,
      `app/include/task/task.h` and `app/Makefile` as per previous commit.  Cascade
      changes to `app/driver/uart.c`, `app/include/driver/uart.h`,
      `app/user/user_main.c` and `app/modules/node.c`
      
      -   **GPIO Rework** to `app/modules/gpio.c` and `pin_map.[hc]`, `platform.[hc]`
      in `app/platform`
      
      -   **Other Optimisations** Move the `platform_*_exists()` from
      `app/platform/common.c` to static inline declarations in `platform.h` as
      this generates faster, smaller code. Move lgc.a routines out of iram0.
      49733f6f
  2. 14 Feb, 2016 1 commit
    • Henk Vergonet's avatar
      Add i2c based module for am2320 humidity sensor · a1c1e015
      Henk Vergonet authored
      Example use:
      > sda=1
      > scl=2
      > am2320.init(sda,scl)
      > rh, t = am2320.read()
      > print(string.format("Temperature: %s degrees C", t / 10))
      > print(string.format("RH: %s %%", rh / 10))
      
      signed-off-by: henk.vergonet@gmail.com
      a1c1e015
  3. 09 Feb, 2016 1 commit
  4. 26 Jan, 2016 1 commit
  5. 24 Jan, 2016 1 commit
  6. 23 Jan, 2016 3 commits
  7. 22 Jan, 2016 1 commit
  8. 21 Jan, 2016 1 commit
  9. 20 Jan, 2016 1 commit
  10. 14 Jan, 2016 1 commit
  11. 13 Jan, 2016 1 commit
  12. 05 Jan, 2016 1 commit
  13. 03 Jan, 2016 1 commit
  14. 29 Dec, 2015 1 commit
  15. 23 Dec, 2015 1 commit
  16. 21 Dec, 2015 1 commit
  17. 18 Dec, 2015 1 commit
  18. 16 Dec, 2015 1 commit
    • Johny Mattsson's avatar
      Reworked module registration, removed modules.h · 4e8ef87d
      Johny Mattsson authored
      Module creation & registration now made a lot simpler. In essence,
      each module file is now self-contained and only needs a
      
        NODEMCU_MODULE(MYNAME, "myname", myname_map, luaopen_myname);
      
      line to both be automatically recognised by the Lua initialization
      as well as honor the LUA_USE_MODULES_MYNAME #define.
      4e8ef87d
  19. 28 Nov, 2015 1 commit
  20. 19 Nov, 2015 1 commit
  21. 12 Nov, 2015 1 commit
  22. 09 Nov, 2015 1 commit
  23. 08 Nov, 2015 1 commit
  24. 03 Nov, 2015 2 commits
  25. 01 Nov, 2015 1 commit
  26. 31 Oct, 2015 1 commit
  27. 27 Oct, 2015 1 commit
    • devsaurus's avatar
      simplify spi api · 9444ae28
      devsaurus authored
      duplex_mode configuration enables/disables receiving with spi.send()
      spi.send_recv removed
      9444ae28
  28. 25 Oct, 2015 1 commit
  29. 18 Oct, 2015 3 commits
  30. 12 Oct, 2015 6 commits