Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Software
»
Software
»
serial lcd
Print
Author
Topic: serial lcd (Read 3147 times)
0 Members and 1 Guest are viewing this topic.
kunaldgr8
Full Member
Posts: 84
Helpful? 0
serial lcd
«
on:
February 11, 2012, 10:01:49 AM »
i am trying to upload a sample code in my arduino diecimilea from this site of my lcd
http://www.electrojoystick.com/tutorial/?page_id=9
but when i click on upload it show the BYTE key word is no longer supported. what should i do what do it mean
Logged
joe61
Supreme Robot
Posts: 417
Helpful? 16
Re: serial lcd
«
Reply #1 on:
February 11, 2012, 10:39:03 AM »
You'll need to rewrite it. Look
here
for information about the language. Look for the Serial library toward the bottom.
Just find the current keyword and put it in place of BYTE. Specifically:
http://arduino.cc/en/Serial/Print
Joe
Logged
rbtying
Supreme Robot
Posts: 452
Helpful? 31
Re: serial lcd
«
Reply #2 on:
February 11, 2012, 10:47:12 AM »
Use Serial.write(uint8_t); Arduino has removed the print(uint8_t, BYTE) completely.
Logged
kunaldgr8
Full Member
Posts: 84
Helpful? 0
Re: serial lcd
«
Reply #3 on:
February 11, 2012, 10:55:55 AM »
can i get a sample code for serial lcd plzz.
Logged
kunaldgr8
Full Member
Posts: 84
Helpful? 0
Re: serial lcd
«
Reply #4 on:
February 11, 2012, 11:11:46 AM »
i replaced it with latest keyword but still it shows that gibberish words
Logged
joe61
Supreme Robot
Posts: 417
Helpful? 16
Re: serial lcd
«
Reply #5 on:
February 11, 2012, 11:32:39 AM »
Post your code as it is now. Be sure to copy and paste, don't try to type it in or anything. Also, use the code tags to keep the formatting so it will be easier to read.
Joe
Logged
kunaldgr8
Full Member
Posts: 84
Helpful? 0
Re: serial lcd
«
Reply #6 on:
February 12, 2012, 12:37:45 AM »
this is my code
void setup() {
delay(1000);
Serial.begin(9600);
}
void loop()
{
delay(500);
Serial.print("Hello kunal");
}
but when i connect rdx of my lcd to tx of microcontroller it shows that gibberish text . but when i connect it to rx it shows hello kunal......and when i power up my arduino and the lcd is aldready connect it shows nothing ..but if i reconnect lcd it stars displayig
Logged
kunaldgr8
Full Member
Posts: 84
Helpful? 0
Re: serial lcd
«
Reply #7 on:
February 12, 2012, 12:40:40 AM »
currently i am powering arduino with computer ........if i power my arduino with 9v do i have to change my current connections
now my current connections are
gnd of lcd to ----------------------gnd of arduino
vcc of lcd to -----------------------5v of arduino
rxd of lcd to------------------------rx of arduino ?
Logged
Print
Society of Robots - Robot Forum
»
Software
»
Software
»
serial lcd
SMF spam
blocked by CleanTalk