TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 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 (136537 times)
  2. FAT32 Library (69732 times)
  3. Network Ethernet Library (55842 times)
  4. USB Device Library (46176 times)
  5. Network WiFi Library (41801 times)
  6. FT800 Library (40987 times)
  7. GSM click (28922 times)
  8. PID Library (26384 times)
  9. mikroSDK (26280 times)
  10. microSD click (25298 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
Example

Watchdog & RTC-example

Rating:

0

Author: Francis Verhelst

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: Internal MCU modules

Downloaded: 1085 times

Followed by: 3 users

License: MIT license  

A small program, to demonstrate use of watchdog on a pic 32.
At program start RTC is started + necessary inits.
It then goes in an endless loop, where the watchdog keeps microcontroller in sleep mode, until a second has passed. The routine then starts all over.
Has to be loaded with microprog. Don't use or combine with Mikrobootloader.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Watchdog & RTC-example" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Watchdog & RTC-example" changes.

Do you want to report abuse regarding "Watchdog & RTC-example".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Hi, if this code helps you out, i'm always glad to know about it :)

RELATED CODES

I2C without blocking issue

5

the original I2C library from mikroe is working fine if all the devices are connected but if any device is missed from the i2c line or not respond or wrong address sent then the library freeze the code and hang the processor. to overcome this problem we can use this code which uses GPIO for I2C communication.

[Learn More]

Exercising The MINI-M4 for STM32

9

A starting set of modules for supporting the many peripheral circuits integrated inside an ARM controller. This example uses the smallest implementation in MikroE’s lineup of ARM boards but has a very powerful microcontroller on-board. The USB interface and built-in boot loader make it all possible without a big expenditure.

[Learn More]

PIC16F877A-PIC18F4550 ADC example with CCS PIC C

0

This example shows how to use ADC modules for PIC16F877A and PIC18F4550 microcontrollers using CCS C compiler.

[Learn More]