Are you wanting to simply control the direction in which the motor turns or are you also interested in controlling the speed? hgmjr
User will set a speed via an LCD screen and I need to 1. Set motor speed to that speed 2. Display that speed on the LCD
Two areas that you could take a look into are Pulse-width Modulation (PWM) and H-bridge drivers. You can search this forum on h-bridge and pwm and find a number of pre-existing discussions on both topics. You can also google these two terms and find information that is out on the Internet. Review the material and then you can come back here to pose questions to help you clarify your understanding of these topics. hgmjr