# Construcing dynamic messages for LCD

**URL:** <https://discourse.nodered.org/t/construcing-dynamic-messages-for-lcd/32085>\
**Category:** General\
**Created:** [27 August 2020 08:36 UTC](https://discourse.nodered.org/t/construcing-dynamic-messages-for-lcd/32085 "2020-08-27T08:36:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [27 August 2020 08:36 UTC](https://discourse.nodered.org/t/construcing-dynamic-messages-for-lcd/32085/1 "2020-08-27T08:36:33Z")

</div>

I don't know if this is really going to work, but for the sake of trying something _else_ (different?) this is a little project just now.

Say I have a 2 line LCD (though it will be 4 ultimately) I want a way to... allow scrolling up/down.

Say I want to represent 4 lines and scroll to which 2 are shown.  
They must be concurrent lines.

So I could show 1 and 2  
2 and 3  
or 3 and 4.

What I am wanting to do is create a _buffer_ of the 4 lines and control which 2 are displayed.

The screen messages are built by sending a message like:  
`"Example text"@x,y`  
`x` is the x-axis and `y` is the y-axis. 0 - 3.

So the message/s would be sent to the _buffer_ then the two selected lines are displayed on the screen.

Yes, I need to sit down and think about it more. I'm just wanting to ask and maybe get some ideas on how to do it.

---

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [28 August 2020 04:14 UTC](https://discourse.nodered.org/t/construcing-dynamic-messages-for-lcd/32085/2 "2020-08-28T04:14:22Z")

</div>

If you are wanting to try something else (different) then I would be using the MCU (arduino or rpi?) to do this as it is much easier since there are libs already built for controlling formatting etc.

You could then pass instructions (your text) to the MCU from NR and let the MCU take care of the formatting.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [28 August 2020 07:19 UTC](https://discourse.nodered.org/t/construcing-dynamic-messages-for-lcd/32085/3 "2020-08-28T07:19:07Z")

</div>

I believe the display I got has a `MCU` in/on it.

Just I thought (dangerous) it would work _out of the box_.

Alas only if I use `FTDI` input, not `I2C`. ☹

I think what you suggested is in the pipeline.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 October 2020 07:19 UTC](https://discourse.nodered.org/t/construcing-dynamic-messages-for-lcd/32085/4 "2020-10-27T07:19:12Z")

</div>

Closed on 27 October 2020 07:19 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
