register hd44780 encoder only if not previously done