Samraksh eMote .NOW
SetPeriodicADCSamplingInterval Method (ADCInternal)



specify lenght of time the ADC samples in seconds
specify lenght of time the ADC sleeps in seconds
Sets the periodic times the ADC will sample and then sleep. SetPeriodicADCSamplingInterval(1.5, 0.5); will sample for 1.5 seconds, sleep for 0.5 seconds and then repeat.
Syntax
'Declaration
 
Public Shared Function SetPeriodicADCSamplingInterval( _
   ByVal secondsADCSamples As Double, _
   ByVal secondsADCsleeps As Double _
) As Integer
'Usage
 
Dim secondsADCSamples As Double
Dim secondsADCsleeps As Double
Dim value As Integer
 
value = ADCInternal.SetPeriodicADCSamplingInterval(secondsADCSamples, secondsADCsleeps)
public static int SetPeriodicADCSamplingInterval( 
   double secondsADCSamples,
   double secondsADCsleeps
)
public:
static int SetPeriodicADCSamplingInterval( 
   double secondsADCSamples,
   double secondsADCsleeps
) 

Parameters

secondsADCSamples
specify lenght of time the ADC samples in seconds
secondsADCsleeps
specify lenght of time the ADC sleeps in seconds

Return Value

Returns the result of SetPeriodicADCSamplingInterval
Requirements

Target Platforms: eMote .NOW

See Also

Reference

ADCInternal Class
ADCInternal Members

Send Feedback