progress
16x2-i2cLCD(hd44780) basic functions working."free heap(21400)".sample lua code usage
-hd44780.init()
-hd44780.clear()
-hd44780.print(0,0,'mbozkurt')
nokia 5110 LCD(pcd8544) basic functions working."free heap(21030)"sample lua code usage
i pushed code in to the my github account. i know its not very clean code but maybe someone clean it. i dont have much time.
https://github.com/alonewolfx2/nodemcu-firmware
--pin names coming from esp8266 sdk, not nodemcu sory about that
resetPin=4
scePin=5
dcPin=12
sdinPin=13
sclkPin=14
--now setup time
pcd8544.init(resetPin,scePin,dcPin,sdinPin,sclkPin)
--now we can write womething
--usage pcd8544.print(x,line,'pcd8544LCD')
-- we have 6 line and 12 char for every line.
pcd8544.print(0,0,'-pcd8544LCD-')
pcd8544.print(0,1,'- NodeMcu -')
pcd8544.print(0,2,wifi.sta.getip())
pcd8544.print(0,3,'serverRuning')
pcd8544.print(0,4,'vdd='..node.readvdd33()..'mV')
pcd8544.print(0,4,'Heap='..node.heap())
i will share source as soon as possible. (now i cant register lua module so i used LUA_USE_MODULES_WS2812 module files )
PCD8544 binary file added.
Attachments
Lets get the party started and +1
[url=https://www.banggood.com/custlink/KvGGhGF4wG[/url]
I like ESP8266 and ESP8285 and ESP32