i have a custom avr atmega328 board to which two seven segment, a servo and a crystal with capacitor is attached. when only the seven segment is connected, the microcontroller works perfectly.But when i attach the servo along with the seven segment, it starts blinking very rapidly and the servo moves to the extreme end. i have programmed the servo to rotate 0 to 90 and then 90 to zero and the seven segment to show its angle. My code is fine, i have verified it using the arduino. i guess the crystal is causing some interference or there is anything else needed for the pwm operation that i am missing to use the servo. can anyone help me out...??????.....please!!!