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
BruceMe
bcfe753341
ADC driving RGB LED; electronic mood ring
...
It's as simple as ADC (analog to digital converter); easy as RGB (Color LED)...
This example can be run on any ESP8266, but it runs out of the box on the ebay search for.. "ESP8266 Battery Holder" with the light sensor on ADC0 and RGB LED. Fun and easy way to do more than blink a light.
2015-05-31 09:08:07 -05:00
devsaurus
897c8cd169
further reduce memory for u8g graphics test
2015-04-24 21:57:27 +02:00
devsaurus
4cd2b554ec
Merge remote-tracking branch 'upstream/dev' into dev
2015-04-24 20:34:35 +02:00
devsaurus
fc19725fef
make variables local to save heap
2015-04-21 21:48:12 +02:00
funshine
450b79dbde
add more mqtt example, add a mqtt subfolder
2015-04-06 00:05:08 +08:00
funshine
bcbde08bf7
fix mqtt keepalive ping, add a example for mqtt in lua_examples.
2015-04-05 02:22:51 +08:00
AllAboutEE
1c267dfac7
Added phone calls and sms example.
2015-03-23 21:57:54 -05:00
devsaurus
b34a8b46fe
use RES pin for examples
2015-03-17 21:03:15 +01:00
devsaurus
87598c5dfe
Merge remote-tracking branch 'upstream/dev' into dev
2015-03-17 20:35:39 +01:00
AllAboutEE
6c092e42ed
Fixed bug where email text after CR and LF would not be read. Added example links, Fixed bug where send function could not be called more than once due to count variable.
2015-03-16 04:17:19 -05:00
AllAboutEE
0144e40cf0
Added comments and links to learn more about SMTP.
2015-03-16 00:39:29 -05:00
AllAboutEE
be4bb14e7c
Added comments to send_email_smtp and removed an unecessary variable. Fixed mispelling in comment in read_email_imap.lua
2015-03-13 20:51:19 -05:00
AllAboutEE
998f96a4d6
Added base64 module needed to encode username and password. Added SMTP send email example.
2015-03-13 14:39:14 -05:00
AllAboutEE
72f767445f
Working example of IMAP read email module.
2015-03-12 11:27:01 -05:00
AllAboutEE
56aa416535
Added imap lua module and updated read_email_imap.lua example to use module. There is a bug where Examine is not sent sometimes.
2015-03-12 01:16:02 -05:00
devsaurus
88815012d4
move u8glib examples to subfolder
2015-03-11 21:56:20 +01:00
devsaurus
4f55ee4e34
validate SPI comm interface with ssd1306_128x64_spi
2015-03-11 21:53:45 +01:00
AllAboutEE
36d42010c2
Added IMAP read email example. The example is working but the output sections are not 100% correct. Parsing the output and waiting for OK message from server is needed.
2015-03-11 08:32:00 -05:00
devsaurus
315d1a1696
Merge remote-tracking branch 'upstream/dev' into dev
2015-03-04 22:18:26 +01:00
funshine
0f6046d8a2
Merge branch 'master' into dev
2015-03-03 14:46:08 +08:00
AllAboutEE
34d0b773d9
Added I/O expander MCP23008 module and two examples: digital output with LEDS, and digital input with buttons.
2015-03-02 13:21:26 -06:00
Damian
888fbdf338
ver 0.9.5 reports error in tmr.alarm()
...
There was no alarm ID.
2015-02-20 20:24:00 +01:00
devsaurus
8e42631a81
implement drawBitmap
2015-02-19 12:12:14 +01:00
devsaurus
a287020096
implement drawXBM
2015-02-18 23:57:34 +01:00
devsaurus
655b06b48e
Merge remote-tracking branch 'upstream/dev' into dev
2015-02-13 21:59:34 +01:00
ksankark
a58f50eb30
Update irsend.lua
...
The for loop was reverse because of that when i transfer 0xfff000ff i have received 0xff000fff. This update works perfect (I have tested this by receiving through Arduino IRreceiver).
2015-02-13 11:13:00 +05:30
devsaurus
a6f6a1e329
add rotation and aspect ration functions for rotation test
2015-02-08 17:56:06 +01:00
devsaurus
145a0f01c8
add scaling functions
2015-02-08 17:17:04 +01:00
devsaurus
5a67fec4f3
Merge remote-tracking branch 'upstream/dev' into dev
2015-02-08 13:14:09 +01:00
Vladimir Dronnikov
165e91e60d
switch require() to dofile() to ease memory cleanup
2015-02-06 22:22:09 +03:00
devsaurus
ed8681f956
implemented full graphics_test
2015-02-01 17:27:20 +01:00
Vladimir Dronnikov
a00044980c
yet another bmp085 module added
2015-01-31 13:01:18 +03:00
Vladimir Dronnikov
169699b93a
ds18b20: negatives handled
2015-01-31 13:01:18 +03:00
Vladimir Dronnikov
f09ffdb13b
IR send module added
2015-01-28 10:48:34 +03:00
Vladimir Dronnikov
96ab811a55
yet another dht11/22 module added
2015-01-26 14:42:20 +03:00
Vladimir Dronnikov
c89686e1f7
yet another ds18b20 module added
2015-01-26 14:42:07 +03:00
funshine
360fb59e63
add tcp2uart.lua example
2015-01-23 17:12:54 +08:00
funshine
82f7407f69
add example webap_toggle_pin.lua from #53 . fix #53
2015-01-08 17:06:50 +08:00
funshine
152107feab
rename folder name to pre_build
2014-12-22 20:28:37 +08:00