correct my code for 16f84.....


Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Aug 2008
    Posts
    22

    Default correct my code for 16f84.....

    Hi all,

    plz go thru my attached code for pic16f84.point me if i did anything wrong.

    here is my requirement.

    1.first generate pulse in free run condition(10ms ON/OFF)
    2.if main present find the duty cycle(tON)
    3.if duty cycle is within 9-11ms,goto step 4,else step 1
    4.compare with o/p feedback duty cycle(wat pulse generated at free run is feed back to i/p)
    5.do the modifications to match both duty cycles.
    6.if both matches,wait for rising edges match,
    7.if both match,say under lock condition.
    Attached Files Attached Files

Similar Threads

  1. ASM code
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 1st March 2010, 23:55
  2. Ways to make code easily reviewable and extendable
    By Ted's in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 23rd August 2008, 00:10
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Please help ? RF Remote Source code
    By sorasit46 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 14:40
  5. Port control code Yelp!!
    By andyf in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th May 2005, 22:36

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts