View unanswered posts | View active topics It is currently Tue Sep 23, 2014 5:26 pm






Reply to topic  [ 5 posts ] 
Set-up of VEX LCD screen 
Author Message
Rookie

Joined: Sun Jul 10, 2011 3:34 pm
Posts: 30
Post Set-up of VEX LCD screen
I was trying to set up the VEX LCD screen with my PIC VEX robot. I have the RX, plugged into the RX on the Microcontroller and the TX plugged into the TX on the mircocontroller, but I cannot get the display to work. Is there something in ROBOTC I have to select to let the Mircocontroller know the LCD screen is there? Or am I just setting this up wrong?


Fri May 11, 2012 7:37 am
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Set-up of VEX LCD screen
That's all that you should need to do to get it to work. What are you trying to display to the screen? Your problem may be in your code - can you post it on the forum?

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Fri May 11, 2012 9:19 am
Profile
Rookie

Joined: Sun Jul 10, 2011 3:34 pm
Posts: 30
Post Re: Set-up of VEX LCD screen
Well, that’s probably because I don’t really understand the code for this stuff, but here's what I tried.

task main()
{
displayLCDCenteredString(0, "Hello World");
wait1Msec(300000);
}//end main


thanks


Fri May 11, 2012 1:15 pm
Profile
Site Admin
Site Admin

Joined: Tue May 15, 2007 9:02 am
Posts: 405
Post Re: Set-up of VEX LCD screen
The only problem I had with your code is that the largest number you can use on the PIC is ~32000. Othwerwise it displayed Hello World on the screen just fine. What version of ROBOTC are you using?

_________________
Jesse Flot
CMU Robotics Academy
ROBOTC Support


Fri May 11, 2012 1:41 pm
Profile
Rookie

Joined: Sun Jul 10, 2011 3:34 pm
Posts: 30
Post Re: Set-up of VEX LCD screen
Ok, its working now, I dont know what I was doing wrong before. I may have I had the cords mixed up when I was tinkering before. Tanks for the help.


Mon May 14, 2012 12:26 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.