add hd44780 LCD code; fix GPIO race