Edit

Share via


Pcf8563 Class

Definition

Realtime Clock PCF8563

public class Pcf8563 : Iot.Device.Rtc.RtcBase
type Pcf8563 = class
    inherit RtcBase
Public Class Pcf8563
Inherits RtcBase
Inheritance
Pcf8563

Constructors

Pcf8563(I2cDevice)

Creates a new instance of the PCF8563

Fields

DefaultI2cAddress

PCF8563 Default I2C Address

Properties

DateTime

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)
LocalTimeZone

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)
RtcDateTime

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)

Methods

Dispose() (Inherited from RtcBase)
Dispose(Boolean)

Cleanup

ReadTime()

Read Time from PCF8563

SetTime(DateTime)

Set PCF8563 Time

Applies to