This example shows how to use Ticker to cause periodic events, such as blinking an LED at a certain rate. In this example, the main while loop controls LED1, and the Ticker callback function controls LED2.
MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.