I think having the standard single led implementation is just fine.

Am 30.01.2014 um 09:07 schrieb Bogdan Marinescu <notifications@github.com>:

In
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/C027.cpp:

> +    DigitalOut led(LED);
> +    led = 0;
> +    // Send SOS in Morse Code: // "... --- ...  "
> +    const char sos[] = "=.=.=...===.===.===...=.=.=......";
> +    const int  dot = 100; // length of the dot in milliseconds (typical: 50-100 ms)
> +    // lengths of symbols:
> +    // di         =   dot
> +    // dah        = 3 dot
> +    // char space = 3 dot
> +    // word space = 6 dot
> +    for (int i = 0; /* nothing */; i = sos[i+1] ? i+1 : 0)
> +    {
> +        led = (sos[i] == '=');
> +        wait_ms(dot);
> +    }
> +}

I understand, thanks. Not a problem, we can take this modification, as long
as is implemented in a .c file instead of a .cpp one.

--
Reply to this email directly or view it on
GitHub<https://github.com/mbedmicro/mbed/pull/153/files#r9297996>
.

-- 
You received this message because you are subscribed to the Google Groups
"mbed-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to mbed-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.