LCD test code