Articles Posted in the " " Category

  • Simple RTC Alarm

    Simple RTC Alarm

    Description This example demonstrate how to use the RTC library methods in order to do something when an alarm is matched. In particular in this example, the RTC time is set at 16:00:00 and an alarm at 16:00:10. When the time match using the match type MATCH_HHMMSS is reached, the attached interrupt function will print […]


  • Simple RTC

    Simple RTC

    Description This example demonstrate how to use the RTC library methods. Hardware Required - 86Duino Zero/One/EduCake/PLC Code Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • standbyMode()

    standbyMode()

    Description Send the board in standby mode. Syntax rtc.standbyMode() Parameters None See also - begin() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • detachInterrupt()

    detachInterrupt()

    Description Detach interrupt action on alarm match. Syntax rtc.detachInterrupt() Parameters none See also - begin() - attachInterrupt() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • attachInterrupt()

    attachInterrupt()

    Description Attach an interrupt action on alarm match. Syntax rtc.attachInterrupt(callback) Parameters callback: The name of the function to be called on alarm match Example See also - begin() - detachInterrupt() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 […]


  • disableAlarm()

    disableAlarm()

    Description Disable the RTC alarm triggering. Syntax rtc.disableAlarm() Parameters none See also - begin() - enableAlarm() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.


  • enableAlarm()

    enableAlarm()

    Description Enable the RTC alarm to be triggered on a chosen match type Syntax rtc.enableAlarm(rtc.AlarmMatch) Parameters AlarmMatch: the chosen match type that can be chosen between: - MATCH_SS: generate an alarm on seconds match; - MATCH_MMSS: generate an alarm on minutes and seconds match; - MATCH_HHMMSS: generate an alarm on hours, minutes and seconds match; […]


  • setAlarmDate()

    setAlarmDate()

    Description Set the RTC Alarm day, month and year. Syntax rtc.setAlarmDate(uint8_t day, uint8_t month, uint8_t year) Parameters day: the day value to be set. month: the month value to be set. year: the year value to be set. See also - begin() - setAlarmHours() - setAlarmMinutes() - setAlarmSeconds() - setAlarmTime() - setAlarmYear() - setAlarmMonth() - […]


  • setAlarmDay()

    setAlarmDay()

    Description Set the RTC Alarm day. Syntax rtc.setAlarmDay(uint8_t day) Parameters day: the day value to be set. See also - begin() - setAlarmHours() - setAlarmMinutes() - setAlarmSeconds() - setAlarmTime() - setAlarmYear() - setAlarmMonth() - setAlarmDate() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under […]


  • setAlarmMonth()

    setAlarmMonth()

    Description Set the RTC Alarm month. Syntax rtc.setAlarmMonth(uint8_t month) Parameters month: the month value to be set. See also - begin() - setAlarmHours() - setAlarmMinutes() - setAlarmSeconds() - setAlarmTime() - setAlarmYear() - setAlarmDay() - setAlarmDate() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under […]