Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCD Widget #4

Open
brandonjjon opened this issue Apr 18, 2016 · 5 comments
Open

LCD Widget #4

brandonjjon opened this issue Apr 18, 2016 · 5 comments

Comments

@brandonjjon
Copy link

Hi,

I noticed there was an LCD Print node in the non-websockets version. How can I print to the LCD with this?

Thanks

@bretskee
Copy link

bretskee commented May 21, 2016

Hey tzapu,

do you have a response for us here. I am still using a combination of websockets nodes that dont have connection issues and non-webockets nodes just for LCD support. It is annoying that the LCD node disconnects regularly. Is there a way to use websockets nodes to talk to the LCD virtual pins or do we need a LCD specific node. node-red is not exactly my thing and I am a bit stuck.

@tzapu
Copy link
Owner

tzapu commented May 21, 2016

hi, i need to implement the lcd node but my time is fairly limited currently.

i am not sure, but you may be able to use the current nodes to force something on the lcd, i ll try and check it for you

@bretskee
Copy link

bretskee commented May 21, 2016

I seem to be able to clear the display using your websocket write node sending "clr" in the payload to the virtual pin for the LCD. Is there some documentation as to how you might pack an LCD message in the payload to print text to an x, y position?? From the Arduino library I can see how they pack a message to the LCD "p40Hello", for x=0 and y=4, but it does not work. Any clues??. "p" seems to be the command.

@tzapu
Copy link
Owner

tzapu commented May 21, 2016

hi, well, i could just write, in simple mode to each of the lines using the virtual pins assigned.
to have x and y values i think you will need to wait for the LCD widget. the current ones uses a different keyword vw instead of p so it would understand.
or , pad with spaces to get the designered alignment for now and use vpins for y 0/1

hope it helps

@bretskee
Copy link

cracked it..
have a look at this: https://github.com/blynkkk/blynk-library/blob/master/extras/docs/Implementing.md

'p' + '\0' + x + '\0' + y + '\0' + "string" seems to work with your write node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants