A demo on how to use a Tilt Sensor from the analog/digital input and display the position of the sensor that it reads to the LCD. It might be simple as you think but the LCD requires a device driver in order for the developer to use it.
For complete details, see the project here.
MATLAB 8.5 (R2015a)
MATLAB Search Path
Arduino Support Package