Test code to read buttons and write to LCD