Samraksh.eMote.SensorBoard Namespace > TemperatureSensor Class : TemperatureSensor Constructor |
'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 )
Exception | Description |
---|---|
System.SystemException | Serves as the base class for system exceptions namespace. |
System.InvalidOperationException | The exception that is thrown when a method call is invalid for the object's current state. |
Target Platforms: eMote .NOW