/branches/V0.68d Code Redesign killagreg/cmps03.c |
---|
10,9 → 10,9 |
/*********************************************/ |
void CMPS03_Init(void) |
{ |
// Port PC4 connected to PWM output from compass module |
// Port PC5 connected to PWM output from compass module |
DDRC &= ~(1<<DDC4); // set as input |
PORTC |= (1<<PORTC4); // pull up to increase PWM counter aslo if nowthing is connected |
PORTC |= (1<<PORTC4); // pull up to increase PWM counter allo if nothing is connected |
PWMTimeout = 0; |
} |