Florian Klink
1ef1843e7a
ws2812: change colors to accept RGB values
...
Nobody would expect GRB input, and converting from RGB to GRB via Lua is too slow,
so convert it in place before sending to the hardware.
2015-02-27 07:55:40 +01:00
funshine
6e840a453f
add node.compile() api
2015-02-13 15:11:59 +08:00
HuangRui
059a5eebdd
wifi.ap.setip() can set ip address now, fixed #199 .
2015-02-12 22:43:48 +08:00
HuangRui
960032ddd8
Fixed compilation fails, adjust redefined #define __P(x) x,closed #206 .
2015-02-12 20:03:27 +08:00
funshine
856b8553bf
comment out ws2812 temporary. remove node.led, node.key
2015-02-12 11:05:28 +08:00
HuangRui
22d096ce7c
Remove PRINTF_LONG_SUPPORT. It is useless now.
2015-02-12 01:23:35 +08:00
HuangRui
f60f446300
Floating point good. Revert LUA_NUMBER_FMT to "%.14g".
2015-02-12 01:21:26 +08:00
HuangRui
f3540ffe29
Fixed many floating point bug.
...
Fixed #148 String:format Floating point, width.precision not working.
Fixed #140 string.format not working since 0127(float version) #140 .
2015-02-12 01:15:30 +08:00
HuangRui
b86bb49576
Move powersOf10 to spi-flash.
2015-02-11 23:07:08 +08:00
HuangRui
d49182c1ab
Move powersOf10 array to global.
2015-02-11 23:05:46 +08:00
HuangRui
db43b1e005
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
2015-02-11 22:51:33 +08:00
HuangRui
d2cdba255f
Supported more baudrate.
2015-02-11 22:50:26 +08:00
funshine
a34e6e8e3d
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev
2015-02-11 21:21:37 +08:00
funshine
2d711bbc0d
update spiffs to 0.2.2, add file.rename api
2015-02-11 21:20:54 +08:00
HuangRui
5d9caf23b6
Support 64Mbit and 128Mbit flash size auto detection.
2015-02-11 21:16:48 +08:00
HuangRui
c7c88feae4
Add 8M and 16M fixed flash size options.
2015-02-11 21:01:57 +08:00
HuangRui
f1f508ca98
Optimization of floating point Memory usage again.
2015-02-11 00:39:03 +08:00
HuangRui
7fda5bdf76
Use more powerful UART baudrate list from RTOS driver.
2015-02-10 22:39:50 +08:00
HuangRui
0f09d23714
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
2015-02-10 22:27:21 +08:00
zeroday
a9398b1dd4
Merge pull request #196 from Point-less/master
...
Added the hold and unhold methods to tcp socket
2015-02-09 22:17:13 +08:00
Santiago
929d4aed5c
Added the hold and unhold methods to tcp socket
2015-02-09 03:00:18 -03:00
Vowstar
0fe694b10f
Merge pull request #192 from dereulenspiegel/ws2812
...
Add support for WS2812 based LED strips
2015-02-09 12:39:49 +08:00
funshine
dec47d5372
fix #185
2015-02-07 23:45:01 +08:00
Till Klocke
0bbaedac89
Renamed lgpio_ws2812 to match lua method name and fixed formatting
2015-02-07 07:05:41 +01:00
Till Klocke
284ee8c46e
Added attribution and fixed documentation in comments
2015-02-05 18:47:08 +01:00
Till Klocke
c30002b8df
Fixed typo in method name
2015-02-05 18:43:29 +01:00
Till Klocke
0950e48925
Added support for WS2812 LEDs as a new module
2015-02-05 18:40:46 +01:00
HuangRui
361bedf0b9
Optimization of memory usage when using double pow(double x, double y).
2015-02-05 12:26:20 +08:00
HuangRui
cca0de9b39
Align the code of c_math.c
2015-02-05 10:20:20 +08:00
HuangRui
bb244d47ab
Move array about pow form local to global.
2015-02-05 10:06:22 +08:00
funshine
1740841e4f
fix #175
2015-02-05 01:42:14 +08:00
Simon John
f6161230a6
Fixes BIT_RATE typo's so 9600 isn't defined 3 times
2015-02-03 17:47:33 +00:00
cle69
4c785fc979
Update platform.c
...
Add Bit Rate 1200,2400,4800
2015-02-03 10:18:58 +01:00
cle69
d48168b920
Update uart.h
...
Add Baudrate 1200, 2400,4800
2015-02-03 09:26:21 +01:00
Tuan PM
c5e9d800a1
Add support multiple subscriptions, resolve nodemcu/nodemcu-firmware#152
2015-02-02 16:58:54 +07:00
Tuan PM
fb0938db2e
fixes nodemcu/nodemcu-firmware#155 lwt qos, retain, change header support MQTT 3.1.1
2015-01-31 11:49:24 +07:00
HuangRui
5894df1da6
Combined dsleep_set_options(option) to dsleep( us, option )
...
* dsleep( us, option )
Hardware has to support deep-sleep wake up (XPD_DCDC connects to EXT_RSTB with 0R). system_deep_sleep(0) ,set no wake up timer,connect a GPIO to pin RST, the chip will wake up by a falling-edge on pin RST.
** us: Integer
time to sleep.
if us = 0, it will sleep forever.
** option: Integer
option=0, init data byte 108 is valuable;
option>0, init data byte 108 is valueless.
More details as follows:
0, RF_CAL or not after deep-sleep wake up, depends on init data byte 108.
1, RF_CAL after deep-sleep wake up, there will belarge current.
2, no RF_CAL after deep-sleep wake up, there will only be small current.
4, disable RF after deep-sleep wake up, just like modem sleep, there will be the smallest current.
2015-01-29 14:21:38 +08:00
alonewolfx2
f4214294d3
new sleep set options added (from 0.9.5 sdk)
...
usage:
-- no wakeup until rst pin to low
node.dsleep(0)
-- 4 mean no RF after deepsleep.
node.dsleepsetoption(4)
2015-01-28 18:13:19 +02:00
funshine
1346cbbc38
fix string.format, maybe partialy
2015-01-27 21:48:44 +08:00
funshine
6a0599d22c
fix alignment
2015-01-27 21:02:54 +08:00
funshine
425e664114
fix #132 , #113 , switch to lib/libssl.a
2015-01-27 20:47:41 +08:00
HuangRui
c16d62e926
Fix UPGRADE_DBG when in DEVELOP_VERSION.
2015-01-27 13:48:10 +08:00
HuangRui
c39deb2a43
Turn floating point option ON.
...
Add pre_build/0.9.5/nodemcu_20150127.bin.
2015-01-26 22:25:43 +08:00
HuangRui
cf4cd8f450
Merge branch 'master' of https://github.com/nodemcu/nodemcu-firmware into devfloat
2015-01-26 20:00:30 +08:00
HuangRui
646eaec29c
Fixed LUA_NUMBER_INTEGRAL definition in user_config.h.
2015-01-26 19:57:54 +08:00
alonewolfx2
4af0873122
for reading internal vdd33 pin voltage.
...
example usage and result
```
print(node.readvdd33())
3348
>
```
2015-01-26 12:17:15 +02:00
HuangRui
e11721ebfd
Support floating point.
...
Add PRINTF_LONG_SUPPORT to %g option.
2015-01-26 17:21:43 +08:00
HuangRui
2e513a967e
Add floating point support for output.
...
Changed %.14g to %g.
Add c_sprintf definition.
2015-01-26 17:17:04 +08:00
HuangRui
530e964d95
Try to ENABLE floating point, lack %g support.
2015-01-26 04:15:54 +08:00
funshine
ad966146fc
migrate to sdk 0.9.5 release version
2015-01-24 23:36:04 +08:00