where is the '{' here?
}
// PWM specification setting
TCCR1A = 0b00100001;
TCCR1B = 0b00010001;//分周比1
// PWM setting
OCR1A = (unsigned int)(8000000 / frq );
//for development
// Serial.begin(9600);
}
where is the '{' here?
}
// PWM specification setting
TCCR1A = 0b00100001;
TCCR1B = 0b00010001;//分周比1
// PWM setting
OCR1A = (unsigned int)(8000000 / frq );
//for development
// Serial.begin(9600);
}