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]

Project Request

Return
Edward Jelonek
avelec

posted on 2015/10/01 11:39:53 AM CEST

Other Codes

How to reset the watchdog timer in a PIC using Micro C Pro

The microchip xc8 compiler has the command CLRWDT() to reset/re-trigger the watchdog timer for a PIC18F4682. I cannot find an equivalent in Micro C Pro and have searched the Micro C Pro manual and header files with no success. How does one do this using Micro C Pro?

USER Comments

raistronic
Raistronic

posted on 2015/10/07 02:06:10 PM CEST

You just write:
asm CLRWDT;

  • Rating:
0
No Abuse Reported

Do you want to report abuse comment ID: 1536 in "How to reset the watchdog timer in a PIC using Micro C Pro" request.