Samraksh eMote .NOW
TemperatureSensor Constructor



Constructor for Kiwi Temperature Sensor
Syntax
'Declaration
 
Public Function New( _
   ByVal pin As Cpu.Pin, _
   ByVal samplingRate As Integer _
)
'Usage
 
Dim pin As Cpu.Pin
Dim samplingRate As Integer
 
Dim instance As New TemperatureSensor(pin, samplingRate)
public TemperatureSensor( 
   Cpu.Pin pin,
   int samplingRate
)
public:
TemperatureSensor( 
   Cpu.Pin pin,
   int samplingRate
)

Parameters

pin
samplingRate
Exceptions
ExceptionDescription
System.SystemExceptionServes as the base class for system exceptions namespace.
System.InvalidOperationExceptionThe exception that is thrown when a method call is invalid for the object's current state.
Requirements

Target Platforms: eMote .NOW

See Also

Reference

TemperatureSensor Class
TemperatureSensor Members

Send Feedback