need help with interface setup

read the forum guidelines.

  1. Make a meaningful subject line

Try to summarize your problem with a helpful and informative subject line. Helpful subjects draw in people who might know the answer. Unhelpful ones are likely to be skipped.

Examples of unhelpful subject lines:

Noob here, help needed
Help me, quickly!
Got error
Lost, help me
Problem with my circuit
No idea what I am doing

================================

then, do some google to find a similar project and see if that answers some or most or all of your questions.

then use a pencil, create a flow chart or a schematic and organize your project into segments.
find and try each segment.

scan your flow chart or schematic, and post along with the code you tried.