Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 476 → Rev 477

/branches/v0.60_MicroMag3_Nick666/trunc/timer0.c
1,7 → 1,6
#include "main.h"
 
volatile unsigned int CountMilliseconds = 0;
volatile static unsigned int tim_main;
volatile unsigned char UpdateMotor = 0;
volatile unsigned int beeptime = 0;
int ServoValue = 0;
47,7 → 46,6
 
void Timer_Init(void)
{
tim_main = SetDelay(10);
TCCR0B = CK8;
TCCR0A = (1<<COM0A1)|(1<<COM0B1)|3;//fast PWM
OCR0A = 0;