Sampling Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Oversampling settings.
C#
public enum Sampling
type Sampling =
Public Enum Sampling
- Inheritance
-
Sampling
Name | Value | Description |
---|---|---|
Skipped | 0 | Skipped (output set to 0x80000). |
UltraLowPower | 1 | Oversampling x1. |
LowPower | 2 | Oversampling x2. |
Standard | 3 | Oversampling x4. |
HighResolution | 4 | Oversampling x8. |
UltraHighResolution | 5 | Oversampling x16. |
Maximum of x2 is recommended for temperature.
Product | Versions |
---|---|
.NET IoT Libraries | 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |