soheil6818
Newbie level 6

hi all
i want to drive my robot and controll it by Compass(CMPS03)
the compass is working properly! means it shows an exact degree! but when i want to use it to turn my robot 90deg it has 10deg error! means if robot will stop at 90 deg , it stops at 100deg! how can i controll my robot motors to have a fix turning!
using atmega32, C language
i want to drive my robot and controll it by Compass(CMPS03)
the compass is working properly! means it shows an exact degree! but when i want to use it to turn my robot 90deg it has 10deg error! means if robot will stop at 90 deg , it stops at 100deg! how can i controll my robot motors to have a fix turning!
using atmega32, C language