TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (352 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136736 times)
  2. FAT32 Library (69951 times)
  3. Network Ethernet Library (55942 times)
  4. USB Device Library (46266 times)
  5. Network WiFi Library (41886 times)
  6. FT800 Library (41173 times)
  7. GSM click (28983 times)
  8. PID Library (26413 times)
  9. mikroSDK (26361 times)
  10. microSD click (25376 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-04-03

Package Version: 2.0.0.5

mikroSDK Library: 2.0.0.0

Category: RTC

Downloaded: 17 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

Barometer 3 click

0

Barometer 3 Click is a compact add-on board for applications which require digital barometric air pressure measurement. This board features the DPS368, a digital barometric air pressure sensor from Infineon.

[Learn More]

EERAM 5v click

5

Add memory to your project with EERAM 5V click. It carries the 47L16/47C16 I2C serial EERAM from Microchip. The click is designed to run on a 5V power supply. It communicates with the target microcontroller over I2C interface, with additional functionality provided by the INT pin on the mikroBUSâ„¢ line.

[Learn More]

Pressure 2 click

0

Pressure 2 click carries MS5803, a high resolution MEMS pressure sensor that is both precise and robust. Its measurement range is from 0 to 14 bars (with a resolution of up to 0.2 mbars), but because of the stainless steel cap enclosure, the sensor can withstand up to 30 bars of pressure. Pressure 2 click communicates with the target board MCU either through mikroBUS SPI or I2C lines, depending on the position in which the onboard jumpers are soldered.

[Learn More]