Sample code for formatted display on lcd