Ds3231AlarmOne(Int32, TimeSpan, Ds3231AlarmOneMatchMode) Constructor
Definition
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.
Creates a new instance of alarm 1 on the DS3231
public Ds3231AlarmOne (int dayOfMonthOrWeek, TimeSpan alarmTime, Iot.Device.Rtc.Ds3231AlarmOneMatchMode matchMode);
new Iot.Device.Rtc.Ds3231AlarmOne : int * TimeSpan * Iot.Device.Rtc.Ds3231AlarmOneMatchMode -> Iot.Device.Rtc.Ds3231AlarmOne
Public Sub New (dayOfMonthOrWeek As Integer, alarmTime As TimeSpan, matchMode As Ds3231AlarmOneMatchMode)
Parameters
- dayOfMonthOrWeek
- Int32
Day of month or day of week of the alarm. Which one it is depends on the match mode
- alarmTime
- TimeSpan
Time of the alarm
- matchMode
- Ds3231AlarmOneMatchMode
Mode to use to determine when to trigger the alarm