nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.69k stars 3.13k forks source link

LCD16x2 display. #318

Closed JyskMaker closed 8 years ago

JyskMaker commented 9 years ago

Hi Is it posebel to make somting to use a 16 x 2 LCD display, connectet to at MCP23017?

kubi57 commented 9 years ago

Hi,

yes, that can be done in lua. If you operate the LCD in 4-bit mode, an MCP23008 is also working.

JyskMaker commented 9 years ago

Nice, has anyone don it in Lua code??

clixx-io commented 9 years ago

I've done it in python. Shouldn't take much to convert to LUA.

https://github.com/clixx-io/clixx.io/blob/master/source/python/clixxIO_CharLCD.py

On Tue, Mar 31, 2015 at 4:09 AM, Allan Madsen notifications@github.com wrote:

Nice, has anyone don it in Lua code??

— Reply to this email directly or view it on GitHub https://github.com/nodemcu/nodemcu-firmware/issues/318#issuecomment-87753541 .

JyskMaker commented 9 years ago

Sorry not that strong in python:-)

dvv commented 9 years ago

https://github.com/dvv/nodemcu-thingies/blob/master/lcd1602.lua but it's for I2C

JyskMaker commented 9 years ago

Hey dvv, MCP23017 is using i2c, its a 2 x 8 bit port extender, MCP23008 has only one.

devsaurus commented 8 years ago

No WIP, thus closing as per #719.