Let's Make Robots!

ATmega128 pins

Hello,

I am not familiar with ATmega, so I need a little help.

I need to use 35 pins of ATmega128 just for sensors ,4 motors control and 3 LED's of my robot.

Okay, here is my list:

##(two motors with PWM control and two without)####

PWM 1------------1—digital----------------------------------PB5

Forward 1---------2—Digital---------------------------------PE2

Reverse 1---------3—Digital---------------------------------PE3