C programing create a code to make a remote control using the HCS 12 dragon boar
ID: 3733524 • Letter: C
Question
C programing create a code to make a remote control using the HCS 12 dragon board and codewarrior by doing the following: 1- when you press a number in the keypad, the Chanel number will show in the LCD Use # and * to turn the volume up and down by using the buzzer to make load and low sound. 2- 3- use the LED to show how load or low the sound is. For example, the lowest is 1 and the highest is 10 if you press # the number will change to 2 in the LED and the sound will be louder. 4- Use key 0 to turn the remote control off and on.Explanation / Answer
code-
void Set_Clock(void)
{
CLKSEL &= 0x7F;
PLLCTL |= 0x40;
SYNR = 0x05;
REFDV = 0x01;
while(!(0x08 & CRGFLG));
CLKSEL |= 0x80;
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.