Mexico
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« on: November 07, 2012, 12:30:07 am » |
I have an Arduino Mega 2560 connected to a sensor arduino shield, and these two plates connected an LCD display, connecting 5v, gnd, RX, TX and show the text on the display, ("Hello world") with the next code programming
void setup () { Serial.begin (9600); } void loop () { Serial.println("$CLEAR\r\n"); Serial.print("$GO 1 1\r\n"); // display address is : the line 1,the row 1 Serial.println("$PRINT Hello world!\r\n"); delay(3000); Serial.print("$GO 2 1\r\n"); // display address is : the line 2,the row 1 Serial.println("$PRINT How are you!\r\n"); delay(3000); }
but how do for display text scrolling??? with this same connection. what code programming used??? thanks
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 38
Posts: 6053
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #1 on: November 07, 2012, 02:56:40 pm » |
Which LCD and what sensor shield?
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 38
Posts: 6053
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #2 on: November 07, 2012, 11:05:11 pm » |
Please do not use PM to send me the same thing you post here. I am not interested in helping you in private. You don't provide any information what LCD you are using, on this post, you will not get help.
|
|
|
|
|
Logged
|
|
|
|
|
Mexico
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #3 on: November 07, 2012, 11:22:17 pm » |
I'm not interested in you to help me in private.
Wrong you think so.
because I'm new to this forum and is the first request help to you
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 38
Posts: 6053
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #4 on: November 08, 2012, 08:34:27 am » |
Just post your links here.
|
|
|
|
|
Logged
|
|
|
|
|
Western New York, USA
Offline
Faraday Member
Karma: 17
Posts: 3507
|
 |
« Reply #5 on: November 08, 2012, 09:41:06 am » |
There are other people here who may be able to help you but they will also need to know the same information.
So, once again: Which LCD and what sensor shield?
I won't respond to a PM either.
Don
|
|
|
|
|
Logged
|
|
|
|
|
Mexico
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #6 on: November 08, 2012, 11:17:11 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 38
Posts: 6053
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #7 on: November 08, 2012, 11:44:11 pm » |
There seems to be only 5 commands. No scrolling.
Do you mean auto scroll, like the arduino serial monitor window? When the screen is full, line one disappears and new line appears on the bottom of the screen?
|
|
|
|
|
Logged
|
|
|
|
|
Western New York, USA
Offline
Faraday Member
Karma: 17
Posts: 3507
|
 |
« Reply #8 on: November 09, 2012, 10:00:47 am » |
You are at the mercy of the person who programmed the processor on the red 'Serial LCD' pc board. What you need is the full instruction set for that board which may include only the five commands $HOME, $CLEAR, $GO, $PRINT, and $CURSOR that are listed.
Don
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 38
Posts: 6053
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #9 on: November 09, 2012, 12:29:16 pm » |
You are at the mercy of the person who programmed the processor on the red 'Serial LCD' pc board. What you need is the full instruction set for that board which may include only the five commands $HOME, $CLEAR, $GO, $PRINT, and $CURSOR that are listed.
Don
That's my suspicion. I followed several links and didn't see a document or anything other than 5 commands. The OP will need to use software skills to make scrolling.
|
|
|
|
|
Logged
|
|
|
|
|
Mexico
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #10 on: November 10, 2012, 11:57:48 pm » |
ok, thanks
|
|
|
|
|
Logged
|
|
|
|
|
|