Ds1307 Class
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.
Realtime Clock DS1307
public class Ds1307 : Iot.Device.Rtc.RtcBase
type Ds1307 = class
inherit RtcBase
Public Class Ds1307
Inherits RtcBase
- Inheritance
Ds1307(I2c |
Creates a new instance of the DS1307 |
DefaultI2c |
DS1307 Default I2C Address |
Date |
Set or retrieves the current date/time. This property returns a DateTimeOffset and is therefore correct regardless of the current time zone (when LocalTimeZone is set correctly). (Inherited from RtcBase) |
Local |
Gets or sets the time zone this instance will operate in. Defaults to the local time zone from the system. Changing this property will not change the time on the real time clock, but instead affect the return value of DateTime (Inherited from RtcBase) |
Rtc |
The Device's raw DateTime. The caller must be aware of the device's time zone. The behavior of the Kind property is implementation-dependent (typically it is ignored) (Inherited from RtcBase) |
Dispose() | (Inherited from RtcBase) |
Dispose(Boolean) |
Cleanup |
Read |
Read Time from DS1307 |
Set |
Set DS1307 Time |
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 |