correct my code for 16f84.....


Closed Thread
Results 1 to 3 of 3
  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

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Unhappy

    Hi, kvrajasekar

    Will you notice it's a PicBASICPro Forum here ...

    So, You'd have much better chances to get answers on dedicated forums.( Microchip i.e. )


    Sorry, but I can't debug your program ... some asm included lines Ok, but Whole program is too much for most of us here.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Aug 2008
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    Hi mr.Acetronics,

    Thank u very much.







    -raja.
    Last edited by kvrajasekar; - 30th August 2008 at 12:34.

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