Este es el que funciona, de momento. No está probado con muchos valores de entradas. Falta probar eso.

Committer:
mbed_official
Date:
Fri Oct 28 13:15:03 2016 +0100
Revision:
16:71f51c703eee
Parent:
15:26d1c87c3fc0
Child:
17:70f39bf6d39a
Updating mbed-os to mbed-os-5.2.1

.
Commit copied from https://github.com/ARMmbed/mbed-os-example-blinky

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 16:71f51c703eee 1 https://github.com/ARMmbed/mbed-os/#e2617cc0e17f5c3fc2bae6a589c9bcfd3d1a717b