converting programs~


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Red face

    yes ill reply to that previous thread.
    And true, of course i'm very fine with learning it all over, converting myself~
    but the thing is if i were to convert myself, i at least will need to know what the program is about. You see, we are given this program coded in PIC 16 and all i need to do is to copy paste into the MPLAB, load into the ICD and thn get it running. But since we need to convert the codes due to the availability of PIC 18, i'll need at least someone to help me get started.
    I'm not writing a program myself in this case, i'm given a program written by someone else and i really just need someone to tell me what the various codes mean and then try to make appropriate amendments.
    not really looking for people to spoon feed me~

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    not really looking for people to spoon feed me~
    Quite frankly, that's exactly what it looks like...
    What were you planning on doing this in? assembly? PBP? C?

  3. #3
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    ah well...my bad..=X
    It's done in MPLAB IDE

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    ah well...my bad..=X
    It's done in MPLAB IDE
    There ya go...all converted for an 18F4520 and everything...
    Attached Files Attached Files

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    There ya go...all converted for an 18F4520 and everything...
    Really?

    So on a 18F4520, PORTA is at address 0x05 ?

    .
    DT

  6. #6
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    the program don't look any difference to me other then the changing the PIC16F877A to PIC 18F4520.

    T.T

  7. #7
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    the program don't look any difference to me other then the changing the PIC16F877A to PIC 18F4520.

    T.T
    What did you expect? You said you didn't want to be spoon fed information!!!

    Look at the program you posted in post #1... Really look at it...
    What's in there? A few defines, a bunch of data blocks, a bunch of loops, and a main loop with some calls to the loops and some delays in it.

    Again, you don't want to be spoon fed, so that's as far as I'm going...

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Really?
    So on a 18F4520, PORTA is at address 0x05 ?
    .
    I know that...but the O/P doesn't want to be spoon fed, so I figured he/she might be able to find that tidbit in the datasheets.

Similar Threads

  1. Help converting DS1993 to DS2433+
    By isaac in forum General
    Replies: 0
    Last Post: - 29th August 2008, 15:34
  2. Replies: 5
    Last Post: - 26th March 2006, 20:26
  3. Converting Stamp code
    By paul.mcallister in forum General
    Replies: 1
    Last Post: - 8th February 2005, 12:48
  4. converting long integer
    By jra in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th September 2004, 18:02
  5. Need help converting to PB Pro from Mbasic Pro
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 11th February 2004, 08:43

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