Reference   Language | Libraries | Comparison | Changes

CurieTimerOne

start()

Description

Starts the timer function, sets the interval at which the timer ticks and also sets the interrupt callback function.

Syntax

CurieTimerOne.start(int timerPeriodUsec, userCallBack)

Parameters

timerPeriodUsec: the number of microseconds that are the period of time at which the timer ticks and generates an interrupt

userCallBack: the function that is called when an interrupt is asserted

Returns

none

See also


Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.