TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 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 (140169 times)
  2. FAT32 Library (72626 times)
  3. Network Ethernet Library (57645 times)
  4. USB Device Library (47958 times)
  5. Network WiFi Library (43556 times)
  6. FT800 Library (42943 times)
  7. GSM click (30141 times)
  8. mikroSDK (28672 times)
  9. PID Library (27058 times)
  10. microSD click (26553 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: 1106 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

PIC32 IDLE and SLEEP XC32

0

This example demonstrates how to use the PIC32 microcontroller in IDLE and SLEEP modes with the XC32 compiler.

[Learn More]

STM32L Discovery Internal Temperature Sensor Demo

2

STM32L152RB Discovery Internal Temperature Sensor Demo. The code is written with MikroC Pro for ARM.

[Learn More]

Block memory move to/from EEPROM

5

This was my solution to storing data in EEPROM at specific memory locations, and having to break up LONGs,INTs, etc.; only to remap everything when I added another value to store. Example code to move large amounts of memory to/from EEPROM easily, using a ONE-BYTE at a time method (doesn't work with FLASH if #bytes > sector).

[Learn More]