this is code for controlling dc motor with avr
File list:
Dc_motor
.......\Dc_motor
.......\........\Debug
.......\........\.....\Dc_motor.d
.......\........\.....\Dc_motor.eep
.......\........\.....\Dc_motor.elf
.......\........\.....\Dc_motor.hex
.......\........\.....\Dc_motor.lss
.......\........\.....\Dc_motor.map
.......\........\.....\Dc_motor.o
.......\........\.....\makedep.mk
.......\........\.....\Makefile
.......\........\Dc_motor.c
.......\........\Dc_motor.cproj
.......\Dc_motor.atsln
.......\Dc_motor.atsuo
.......\Last Loaded simulation.DBK
.......\simulation.DSN
.......\simulation.PWI
.......\simulation.rar