write test program for liquid crystal displayer