Samraksh.eMote.DotNow Namespace > AnalogInput Class : ConfigureBatchModeWithThresholding Method |
'Declaration
Public Shared Function ConfigureBatchModeWithThresholding( _ ByVal sampleBuff() As UShort, _ ByVal channel As Cpu.AnalogChannel, _ ByVal numSamples As UInteger, _ ByVal samplingTime As UInteger, _ ByVal threshold As UInteger, _ ByVal callback As AdcCallBack _ ) As Boolean
'Usage
Dim sampleBuff() As UShort Dim channel As Cpu.AnalogChannel Dim numSamples As UInteger Dim samplingTime As UInteger Dim threshold As UInteger Dim callback As AdcCallBack Dim value As Boolean value = AnalogInput.ConfigureBatchModeWithThresholding(sampleBuff, channel, numSamples, samplingTime, threshold, callback)
public static bool ConfigureBatchModeWithThresholding( ushort[] sampleBuff, Cpu.AnalogChannel channel, uint numSamples, uint samplingTime, uint threshold, AdcCallBack callback )
public: static bool ConfigureBatchModeWithThresholding( array<ushort>^ sampleBuff, Cpu.AnalogChannel channel, uint numSamples, uint samplingTime, uint threshold, AdcCallBack^ callback )
Target Platforms: eMote .NOW