diff --git a/0.9.2/512k-flash/nodemcu_512k.bin b/0.9.2/512k-flash/nodemcu_512k_20141212.bin
similarity index 100%
rename from 0.9.2/512k-flash/nodemcu_512k.bin
rename to 0.9.2/512k-flash/nodemcu_512k_20141212.bin
diff --git a/0.9.2/512k-flash/nodemcu_512k_20141219.bin b/0.9.2/512k-flash/nodemcu_512k_20141219.bin
new file mode 100644
index 00000000..aef51a9f
Binary files /dev/null and b/0.9.2/512k-flash/nodemcu_512k_20141219.bin differ
diff --git a/README.md b/README.md
index 93998eca..62d8d441 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,12 @@
# **NodeMcu** #
###A lua based firmware for wifi-soc esp8266
-version 0.9.2 build 2014-12-12
+version 0.9.2 build 2014-12-19
# Change log
-2014-12-12
-modify wifi.xx.getip() to return nil, if ip is 0.0.0.0.
+2014-12-19
+**Important** Re-arrange GPIO MAP due to development kit.[New Gpio Map](#new_gpio_map)
+Add bitwise operation module.
+Modify net.socket:connect() api to accept domain name, auto DNS.
-2014-12-11
-fix uart.setup(), now setup can set pins in other mode back to uart mode.
-add wifi.sta.status() api, to get connection status in station mode.
-modify tmr.now() to return a uint31 rather than uint32. now-=0x80000000 if now>0x7fffffff.
[more change log](https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_en#change_log)
[更多变更日志](https://github.com/nodemcu/nodemcu-firmware/wiki/nodemcu_api_cn#change_log)
@@ -20,6 +18,43 @@ modify tmr.now() to return a uint31 rather than uint32. now-=0x80000000 if now>0
- GPIO pin re-mapped, use the index to access gpio, i2c, pwm.
- GPIO Map Table:
+##GPIO NEW TABLE ( Build 20141219 and later)
+
+
+
+
+ IO index | ESP8266 pin | IO index | ESP8266 pin |
+
+
+ 0 [*] | GPIO16 | 8 | GPIO15 |
+
+
+ 1 | GPIO4 | 9 | GPIO3 |
+
+
+ 2 | GPIO5 | 10 | GPIO1 |
+
+
+ 3 | GPIO0 | 11 | GPIO9 |
+
+
+ 4 | GPIO2 | 12 | GPIO10 |
+
+
+ 5 | GPIO14 | | |
+
+
+ 6 | GPIO12 | | |
+
+
+ 7 | GPIO13 | |
+
+
+#### [*] D0(GPIO16) can only be used as gpio read/write. no interrupt supported. no pwm/i2c/ow supported.
+
+##GPIO OLD TABLE (Before build 20141212)
+
+
IO index | ESP8266 pin | IO index | ESP8266 pin |
@@ -109,16 +144,16 @@ braudrate:9600
####Do something shining
```lua
function led(r,g,b)
- pwm.setduty(0,r)
- pwm.setduty(1,g)
- pwm.setduty(2,b)
+ pwm.setduty(1,r)
+ pwm.setduty(2,g)
+ pwm.setduty(3,b)
end
- pwm.setup(0,500,512)
pwm.setup(1,500,512)
- pwm.setup(2,500,512)
- pwm.start(0)
+ pwm.setup(2,500,512)
+ pwm.setup(3,500,512)
pwm.start(1)
- pwm.start(2)
+ pwm.start(2)
+ pwm.start(3)
led(512,0,0) -- red
led(0,0,512) -- blue
```
@@ -196,3 +231,4 @@ braudrate:9600
Tencent QQ group: 309957875
[nodemcu wiki](https://github.com/nodemcu/nodemcu-firmware/wiki)
[nodemcu.com](http://www.nodemcu.com)
+[中文bbs](http://bbs.nodemcu.com)