You can sent data to the display with 6 output lines.
Then after sending you make one output pin an input.
look if the input is changing and react on that.
Then if you want to sent som new data to the display make that pin an output again and sent the data to the display.
Edit:
Sorry I saw in the datasheet that this part has only 5 outputs and 1 input what cannot set to an output.
You can take a shiftregister where you sent via the shiftout instruction the 6 lines data to the display. It costs you now only 2 or 3 output lines. How you can do this is already done here in this forum.
Via search you can find it.
Bookmarks