Ameba Arduino: [RTL8722CSM] [RTL8722DM] [RTL8722DM MINI] A Simple RTC Example

Materials

  • AmebaD [RTL8722DM / RTL8722CSM / RTL8722DM MINI] x 1

Example

This example demonstrates how to use the RTC library methods. This function describes how to use the RTC API. The RTC function is implemented by an independent BCD timer/counter.

Select the correct Ameba development board from the Arduino IDE: “Tools” -> “Board”.
Then open the “RTC” example from:”File” -> “Examples” -> “AmebaRTC” -> “RTC “:

1

Upon successfully upload the sample code and press the reset button, this example will print out time information since the user initialized time every second in the Serial Monitor.

1

Code Reference

[1] Simple RTC example from Arduino Tutorials:
https://www.arduino.cc/en/Tutorial/SimpleRTC

Please confirm that QQ communication software is installed