|
Page 1 of 1
|
[ 5 posts ] |
|
| Author |
Message |
|
vexmche123
Rookie
Joined: Sun Jul 10, 2011 3:34 pm Posts: 30
|
 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 |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 383
|
 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?
|
| Fri May 11, 2012 9:19 am |
|
 |
|
vexmche123
Rookie
Joined: Sun Jul 10, 2011 3:34 pm Posts: 30
|
 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 |
|
 |
|
jbflot
Site Admin
Joined: Tue May 15, 2007 9:02 am Posts: 383
|
 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?
|
| Fri May 11, 2012 1:41 pm |
|
 |
|
vexmche123
Rookie
Joined: Sun Jul 10, 2011 3:34 pm Posts: 30
|
 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 |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 9 guests |
|
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
|
|