/CarPlatform

TM4C123 project

Primary LanguageC

PD0, PD1 - PWM mode -> L298 EN1& EN2 inputs

PD2, PD3, PD6, PD7 - GPIO outputs -> control motors

if GPIO output's High Level (logic 1) turn motor forward it was marked blue connector, otherwise yellow)

PC7, PC4 - Analog comparators 0 & 1 respectively-> IR sensors

Left sensor PC7 (AC0) - 0.27/0.07 COMP0 Ref 0.1375

Right sensor PC4 - 0.33/0.14. COMP1 Ref 0.1375