mirror of https://github.com/ARMmbed/mbed-os.git
Added UART to testing.
parent
e077c9ad1f
commit
04051989bd
|
|
@ -4,7 +4,9 @@ DigitalOut led(P1_9);
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
printf("Testing...\r\n");
|
||||||
led = 1;
|
led = 1;
|
||||||
|
printf("LED on");
|
||||||
wait(0.5);
|
wait(0.5);
|
||||||
led = 0;
|
led = 0;
|
||||||
wait(0.5);
|
wait(0.5);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue