Added functions for reading the address counter and characters from the LCD