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.
Re: Delay problem in pic
for the same program if decrease the clock frequency delay increses from 1 sec. when i increase the clock delay decreases why it occurs?
i think as as we set clock frequency delay function internally set the value for each clock option and generates same delay each clock.
i want to generate delay of 1 second using internal oscillator of 8mhz. i am using mikro C compiler and i want to use Delay_ms () function.
i set the config bit
_CPUDIV_OSC1_PLL2_1L and _FOSC_INTOSC_HS_1H
i also set the OSCCON=0x73
but the delay i more than 1 sec.
difference between port and lat register in pic?
the data sheet says port is for reading input and lat is for output.
but when i program port register equal to 0xFF, the LEDs connected with the port getting glow. how it is happens.
i am workin on pic18f4550 icsp programmer which is JDM type serial programmer. i am trying to make pic development board. when i program the controller the execution dosent started automatically. i have to disconnect the MCLR pin of programmer. the MCLRE bit of config register is activate.
it...
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.