Commit Graph

748 Commits

Author SHA1 Message Date
Terry Ellison d762696119 Merge pull request #775 from iWladi/patch-1
Update dht_lib.lua
2015-11-18 23:34:23 +00:00
iWladi 3fd7396a6b Update dht_lib.lua
misprint
2015-11-18 18:20:43 +03:00
Vowstar 9306e76ae1 Merge pull request #675 from adetante/master
mqtt:close() send the DISCONNECT message (fix #673)
2015-11-01 14:37:47 +08:00
Vowstar 23ce97a558 Merge pull request #680 from nickandrew/onewire-power
Fix bus power problems in onewire
2015-11-01 14:37:02 +08:00
Vowstar 8568ecec50 Merge pull request #681 from nickandrew/ds18s20-support
Also support DS18S20
2015-11-01 14:35:27 +08:00
Vowstar ba0d33780f Merge pull request #686 from h3ndrik/master
add TM1829 support
2015-11-01 14:34:37 +08:00
Vowstar e964b880e3 Merge pull request #665 from bigjohnson/master
Added I/O expander MCP23017 module
2015-10-17 20:59:29 +08:00
Hendrik Langer c925e98ab8 add TM1829 support
This code is taken from the WS2812 module with modified timings and inverted logic levels
2015-10-10 17:10:54 +02:00
Nick Andrew 99f94acacf Add negative temp handling; fix multiplier
Negative temperatures (less than 0°C) are returned as a sign-extended
two's complement number. Subtract 0x10000 to recover the proper
negative value.

Also, do not multiply by 625 twice (thanks to @TerryE).

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-10-05 21:30:57 +11:00
Nick Andrew de692f3540 Also support DS18S20 in this module
Resolve device differences before converting temperature to F or K.
2015-10-05 13:44:55 +11:00
Nick Andrew 53eee16894 Also support DS18S20
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

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-10-05 13:31:28 +11:00
Nick Andrew 5dee9d03fb Fix bus power problems in onewire
See #676

The 1-wire pin was being set back to output low, which reset all 1-wire
devices on the bus.

Change the power == 0 behaviour to tri-state the pin, as I believe was
intended. Make this not the default, because the bus should be high
when a bit/byte is not being read/written. A low bus for a long time
is a reset condition.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-10-04 17:25:11 +11:00
Antoine 5ed9720467 mqtt:close() send the DISCONNECT message (fix #673) 2015-10-01 22:18:30 +02:00
Aberto Panu 7fec722293 Create mcp23017.lua
Added new module
2015-09-23 17:53:05 +02:00
Johny Mattsson bb9dd62882 Merge pull request #643 from ellarobotics/readme-spi
Added HW SPI and UART ports to doc
2015-09-14 12:57:49 +10:00
Lio李欧 0ab512edd1 Added HW SPI and UART ports 2015-09-10 21:38:00 +08:00
Vowstar f4fc3b95a8 Merge pull request #571 from marcelstoer/containerized-builds
Switch to Travis containerized builds
2015-09-01 15:43:55 +08:00
Vowstar c56c523216 Merge pull request #576 from tcustodio/master
MPR121 I2C Module
2015-09-01 15:42:45 +08:00
Vowstar f687223fe7 Merge pull request #630 from TerryE/luac.cross
Add Luac.cross capability to nodeMCU
2015-09-01 15:41:16 +08:00
Vowstar d0f32b36de Merge pull request #627 from TerryE/mindebug
Add minimum debug library providing traceback() and getregistry() functions
2015-09-01 15:31:46 +08:00
TerryE 901fdf60cd Add luac.cross capability to nodeMCU 2015-09-01 06:11:36 +01:00
TerryE dddf46ebad Add minimum debug library providing traceback() and getregistry() functions 2015-08-31 14:05:27 +01:00
Vowstar da926ff192 Merge pull request #575 from zerog2k/mqtt-keepalive
fix mqtt connection closing when not publishing
2015-08-31 01:50:59 +08:00
Vowstar c7c09d12ec Merge pull request #622 from hazarkarabay/master
Onewire search bug fix
2015-08-31 01:47:50 +08:00
Hazar Karabay f6d0c0c662 Onewire search bug fix
Current version tries copying device address even when no device is
found.
Merged from
c6564f2232
2015-08-30 00:54:22 +03:00
tcustodio 6755ca54ba Phant library for nodemcu
mimics original phant-arduino usage
https://github.com/tcustodio/phant-nodemcu
2015-07-26 20:02:14 +01:00
tcustodio d2fc9a8435 MPR121 I2C Module
Module and example for touch sensing IC MPR121
2015-07-25 13:32:58 +01:00
Jens Jensen cb18bfff13 fix mqtt connection closing when not publishing
should not reset keep_alive_tick when receiving as this can prevent
sending keepalive (PINGREQ), which can result in server disconnect.
2015-07-23 18:51:01 -05:00
Marcel Stör 27131c689f Switch to Travis containerized builds 2015-07-21 20:46:09 +02:00
Vowstar 474ae33288 Merge pull request #560 from marcelstoer/delete-pre_build
Remove pre_build directory containing very old binaries
2015-07-20 09:13:31 +08:00
Marcel Stör 73d5b094b3 Remove pre_build directory containing very old binaries 2015-07-17 13:44:14 +02:00
Vowstar aaca524ce0 Merge pull request #529 from nodemcu/dev096
Dev096 into master.
2015-07-04 04:36:28 +08:00
vowstar 2224f24dad Merge branch 'dev096' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-07-04 02:31:15 +08:00
vowstar 638bf7b023 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-07-04 02:28:31 +08:00
vowstar fb0e4722b8 Fix and support Wi-Fi smart link (esp-touch and air-kiss).
Espressif open-source android and iOs APP,
See also https://github.com/espressifapp
Note: Must use ESP-TOUCH-V021 in espressif app history.
2015-07-04 02:27:51 +08:00
Vowstar 877275d897 Merge pull request #522 from kbeckmann/dev
Added WS2801 support
2015-07-02 22:01:45 +08:00
Vowstar cfe5b23b47 Merge pull request #523 from DiUS/dio-fix
Workaround write-protected flash when using esptool.py to flash in DIO mode
2015-07-02 21:53:35 +08:00
Johny Mattsson 9eda352e50 Workaround for DIO mode leaving flash in write-protect. 2015-07-02 20:11:03 +10:00
Johny Mattsson 8394333cab Pull in upstream fixes for getting board into flash mode. 2015-07-02 20:10:57 +10:00
Konrad Beckmann 3d3c2431b3 Added WS2801 support 2015-07-02 00:50:26 +02:00
Vowstar 125d2173d6 Merge pull request #519 from md5crypt/tmr_module
rewrote the timer module from scratch
2015-06-30 15:50:08 +08:00
Luna 2691383696 added tmr.interval 2015-06-29 23:15:30 +02:00
Luna c1d2eb413b rewrote the timer module from scratch 2015-06-29 21:19:24 +02:00
Vowstar aa710d1f53 Merge pull request #513 from NodeUSB/dev096
update 433MHz transmission comment, add static ICACHE_FLASH_ATTR flag
2015-06-28 14:55:07 +08:00
Mike Wen 66ca7f6aca update 433MHz transmission comment, add static ICACHE_FLASH_ATTR flag 2015-06-27 18:14:24 -04:00
Mike Wen cf72a3203d update 433MHz transmission doc, add static ICACHE_FLASH_ATTR flag 2015-06-27 14:42:39 -04:00
vowstar dce0d2c2a8 Release build 20150627.
fixed ap/station-ap cannot connect to the device.
added wifi.ap.getconfig().
fixed net.dns.getdnsserver().
added new base64 lua example.
added node.bootreason() to inspect boot cause.
optimization of u8g.
2015-06-27 15:21:48 +08:00
vowstar 663158e4ab added wifi.ap.getconfig() by @md5crypt https://github.com/nodemcu/nodemcu-firmware/pull/500/files#diff-81824fe90d00138d98b6e9f0d7d8c7dcL1458. 2015-06-27 12:30:36 +08:00
vowstar a32df17579 Fixed net.dns.getdnsserver() by @md5crypt. 2015-06-27 12:26:24 +08:00
vowstar 11ca2bc096 Merge branch 'newbase64' of https://github.com/md5crypt/nodemcu-firmware into dev
Conflicts:
	app/Makefile
	app/dhtlib/dht.c
	app/include/user_version.h
2015-06-27 11:47:44 +08:00