In this repository you will find MicroPython code for steering LCD dispalys based on HD44780 chip. This was designed for Raspberry Pi Pico.
The connections are described in the comments in the hd44870.py file and they can be changed with class constructor parameters.
See main.py for usage example.