TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (402 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (129 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 (140771 times)
  2. FAT32 Library (73360 times)
  3. Network Ethernet Library (58200 times)
  4. USB Device Library (48385 times)
  5. Network WiFi Library (43978 times)
  6. FT800 Library (43538 times)
  7. GSM click (30469 times)
  8. mikroSDK (29174 times)
  9. PID Library (27169 times)
  10. microSD click (26848 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: 87 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

7x10 R Click

0

7x10 R Click is a LED dot matrix display Click, which can be used to display graphics or letters in a very simple and easy way. The Click board has two LED dot matrix modules with 7x5 stylish, round, dot-like LED elements. These displays produce clean and uniform patterns since the elements are optically isolated from each other and there is no light bleeding between the adjacent LED cells. Additionally, turn-on and turn-off times of the matrix cells are optimized for a clean and fluid display performance, with no flickering or lag.

[Learn More]

RTC 2 click

0

Example for RTC2 click board in mikroBUS form factor. It is a simple demonstration how to read/write date and time from DS1307 RTC (real-time clock). Date and time are read from the RTC every 10 milliseconds and printed on LCD. Communication with the board is done via I2C interface.

[Learn More]

eFuse 5 Click

0

eFuse 5 Click is a compact add-on board with a power path protection solution that limits circuit currents and voltages to safe levels during fault conditions. This board features the TPS16530, an easy-to-use, positive 58V, 4.5A eFuse with a 31mΩ integrated FET from Texas Instruments. This industrial eFuse has programmable undervoltage, overcurrent, inrush current protection, and output current monitoring features. Besides, it allows flexibility to configure the device between the two current-limiting fault responses (latch off and auto-retry).

[Learn More]