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.
Hi....although i dont have much knowledge about PIC...use timer0 to generate a delay of 50mS...it requires some calcultion like...what is internal clock frequency of the mc...suppose it is 1us...then timer0 increments every 1us...timer overflows after 65536 counts ie (after 65.536ms)...to create a delay of 50ms...(65536-50000): 15536 ie (3CB0 in HEX) load this value in timer...so now timer creates a delay of 50mS...repeating this delay 20 times...will give u a total delay of 1 sec...This was just an idea of implementing...I do this in 8051...The timing values will definately change...try implementin it....Regards.
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.