TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139568 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57256 times)
  4. USB Device Library (47631 times)
  5. Network WiFi Library (43220 times)
  6. FT800 Library (42566 times)
  7. GSM click (29932 times)
  8. mikroSDK (28292 times)
  9. PID Library (26934 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

RTC Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-07-09

Package Version: 2.0.0.7

mikroSDK Library: 2.0.0.0

Category: RTC

Downloaded: 59 times

Not followed.

License: MIT license  

The application demonstrates RTC SDK functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RTC Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RTC Demo" changes.

Do you want to report abuse regarding "RTC Demo".

  • Information
  • Comments (0)

mikroSDK Library Blog

RTC DEMO

This is a simple example that utilizes mikroSDK 2.0 RTC driver library. In this demo, we demonstrate how to configure and enable RTC module and use its functionalities like start, stop, set_time, reset and system_reset.


Hardware support

  • Plug in a USB Type C cable into USB-UART port.
    • image
  • Alternatively, place the USB UART click in a mikroBUS socket and change TX and RX pins in code. In this case, you'll need to connect a USB Mini-B cable directly to the click.
    • image

Software Support

We provide demo code for demonstrating the usage of functions contained in RTC driver library. To run this example, follow these steps:

  1. Install the package from Package manager.
  2. Open example.
  3. It will take you to setups.
  4. Choose desired compiler and click on Advanced.
  5. Choose desired output and click on Save.
  6. Proceed with selecting your Board, MCU, and programmer/debugger tool.
  7. Click Finish.
  8. Follow TODO comments in MACROS section to set up project.
  9. If you selected Aplication output in step 5. Click on Debug.
  10. Time will apear in Aplication output and will be updated depending on what you set in step 8.
  11. If you selected UART in step 5. Click on Flash.
  12. Go to Tools->UART Terminal.
  13. Click on Options, select adequate Port and set Baud rate to 115200.
  14. Click on Configure and then Connect.
  15. Time will apear in UART terminal and will be updated depending on what you set in step 8.

ALSO FROM THIS AUTHOR

IrDA 3 click

5

IrDA 3 click is an intelligent IR transceiver device that can both send and receive UART commands via the IR interface.

[Learn More]

Timer Relay Click

0

Timer Relay Click is a compact add-on board that allows you to control the load with a timer. This board features the NE5555, a precision timer from Diodes Incorporated. It is a precision timing circuit capable of producing accurate time delays in a monostable mode of operation.

[Learn More]

Flicker click

0

FLICKER click is perfect, simple solution if you need to turn a device on and off at specific time intervals, like blinking LED commercials, alarm system lights, or any other signalling lights. This example shows how by using the button you can start time relay and configure it's duration of on and off period.

[Learn More]