12/28/2022 0 Comments Ds3231 arduino library downloadWriting the alarm trigger time data is achieve by writing to the interface registers followed by a call to the setAlarm1() or setAlarm2() method. Writing the current time is a sequence of writing to the interface registers followed by a call to the writeTime() method. The current date and time is then available in the interface registers. Reading the current time from the clock is a call to the readTime() method. The status() method will return the current value from the parameter nominated and is guaranteed to be in the valid set. The table below highlights the combinations of valid parameters for the control() method and whether a parameter can be changed by user code. The parameters used for each are similar, but not symmetrical, due to the way the hardware is implemented. The control() and status() methods are the main interface to action setting parameters or status values.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |