yes, but:If I understood you correctly you made the code work for HD44780
software from BadMojoX is already support this controller. HD44780=ST7036=ST7066U. My code is not support all plugin features. GoodLuck!There is a statement in the datasheet for ST7036: Instruction compatible to ST7066U and KS0066U and HD44780