Hello World for Ticker

Fork of Ticker_HelloWorld by Mbed

Use

Ticker is an interrupt driven time interrupt. A ticker works like a kitchen timer, you set it up to tick down from some value in seconds, when it reaches 0 it calls a callback function, then resets the ticker and starts the whole process over again. A ticker can be used to cause periodic events, like blinking an LED on and Off at a certain rate. A tickers maximum time it can handle is 30min, for anything greater consider using the real time clock functionality. In this example LED1 is controlled by the main while look, while LED2 is controlled by the Ticker callback function.

API

API reference.

Import librarymbed

No documentation found.

History

"Update mbed-os" default tip

2017-06-27, by sarahmarshy [Tue, 27 Jun 2017 11:37:57 -0500] rev 4

"Update mbed-os"


Updated to mbed OS 5

2017-01-13, by mab5449 [Fri, 13 Jan 2017 21:08:14 +0000] rev 3

Updated to mbed OS 5


Added license to main.c file.

2015-03-27, by mbedAustin [Fri, 27 Mar 2015 20:17:43 +0000] rev 2

Added license to main.c file.


updated libs

2014-09-21, by mbedAustin [Sun, 21 Sep 2014 18:11:54 +0000] rev 1

updated libs


Ticket Hello World

2013-02-14, by mbed_official [Thu, 14 Feb 2013 14:30:22 +0000] rev 0

Ticket Hello World