Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
_delay hi-tech c
Running frequency is necessary for PICC-18 STD version.
For PRO version, _delay() generating number of cycles.
Here is PICC-18 PRO manual description,
Description
This is an inline function that is expanded by the code generator. When called, this routine expands
to an...
_delay
In PICC18 user manual it's writen _delay() inline function argument is unsigned long but if you check below 3 examples there is something wrong
exam 1 correct,
#include <pic18.h>
void main(void)
{
_delay(770);
}
code generated
143 003FF2 _main:
144...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.