Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
MPLAB® X IDE is an IDE to develop applications for Microchip microcontrollers and digital signal controllers.
8
votes
Accepted
How to use a variable delay in Microchip PIC microcontroller (MPLAB X), without using floati...
__delay_ms and __delay_us are macro's. They are expanded at compile time by the preprocessor and thus only accept constants as parameter.
If you need a simple variable delay just create a function tha …
1
vote
PIC10F200 OPTION Register constants not present in header files
Quote from the datasheet:
The OPTION register is a 8-bit wide, write-only register, which contains various control bits to configure the Timer0/WDT prescaler and Timer0. By executing the OP …