Apps     Components     Interfaces     All Files     Source Tree     source: apps.SenseLightToLog.Sensing.nc

Interface: Sensing

Defines an interface for a component that senses data at a certain interval and scale.

Components providing this interface:
apps.SenseLightToLog.SenseLightToLog
apps.SenseLightToLog.SenseLightToLogM

Components requiring this interface:
apps.SenseLightToLog.SimpleCmdM

Commands

Events

Commands - Details

start

result_t start(int nsamples, int interval_ms)

Start sensing data.

Parameters:

nsamples - The number of samples to gather.

interval_ms - The interval (in msec) at which to gather samples.