how would u program the LCD in robotc?
There are some really great resources on the RobotC website, here is a blog post I found which might help. I would definitely recommend having a look through their website to see if you can find some more useful info.
As for reading the buttons on the LCD, “nLCDbuttons” will give a value of 1 for the left button, 2 for the centre, and 4 for the right. I.E. “nLCDbuttons” could be used like this:
if(nLCDbuttons == 1) //If the left button is pressed...
{
//do something
}
I hope I have helped!!
Jij pretty fully answered your question. I would just like to say that 9 times out of 10, the sample programs, or the function library on the left hand side of your screen (if you didn’t change the layout) will tell you what you want to know. If those resources don’t help you, a quick search on the ROBOTC forums will usually turn something up. If the problem still persists, then I would say that you should ask your question on the forums. Of course, that’s just my opinion. I just think that you should try to do some legwork before giving up.