Firmata and LCD

I am relatively new to both Arduino and Raspberry Pi. I have Firmata working and can read a switch to control a LCD with the rpi. I found several examples to do this on the Internet but nothing more complicated. I have an Arduino Mega and a LCD/Touchscreen/shield from Sainsmart. I want to control the Mega to display on the LCD and read touch positions from the touchscreen through the Mega and pass them to the rpi. Are there examples on the net for more complicated uses of Firmata with a different shields which require thier own library? Does the library get added into to the Firmata sketch?

Jim

I want to control the Mega to display on the LCD and read touch positions from the touchscreen through the Mega and pass them to the rpi.

Apparently you don't really, or you would not be using Firmata.

Firmat takes over full control of the Arduino, basically allowing you to do no more then digitalRead(), analogRead(), digitalWrite(), analogWrite(), and, depending on which Firmata sketch you have, position a servo.

If you want to do more than that, don't dumb down the Arduino with a Firmata sketch.