NRF52840 Eval Kit User Manual
Vision: V1.0.1 Date: 2019.01.19
26
/
72
{
printf
(
"\r\n LED2 ON \r\n"
);
LED_On
(
LED2
);
break
;
}
case
'6'
:
{
printf
(
"\r\n LED2 OFF \r\n"
);
LED_Off
(
LED2
);
break
;
}
case
'7'
:
{
printf
(
"\r\n LED3 ON \r\n"
);
LED_On
(
LED3
);
break
;
}
case
'8'
:
{
printf
(
"\r\n LED3 OFF \r\n"
);
LED_Off
(
LED3
);
break
;
}
case
'q'
:
{
printf
(
"\r\n Exit! \r\n"
);
while
(
true
);
}
case
'Q'
:
{
printf
(
"\r\n Exit! \r\n"
);
while
(
true
);
}
default
:
{
printf
(
"\r\nPlease input correct command\r\n"
);
break
;
}
}
}
}