I need it in 3 hours..

flow the guidelines.

the topic is in lab5.pdf 

the information in the rest 

we used port E 0-3 for input and port A 2-6 for output.

any other ask me ..