Bad 16f88


Closed Thread
Results 1 to 14 of 14

Thread: Bad 16f88

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    not only that but, where are you turning off the port bit?
    Dave Purola,
    N8NTA
    EN82fn

  2. #2
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    You are both right, made a error when I posted. HERE is what I entered:
    the purpose of the whole program is to give me a visual indication of how long it takes to the chip to execute a loop and count down. I need this info for setting timing on portions of my programs. Hope this makes sense. P.S. my setup may not be correct but I'm an old geezer.

    ' Timer countdown test
    trisa = 0
    porta = 0
    Start:
    I var byte
    for I = 1 to 2000
    next I
    porta.0 = 1
    pause 5000
    end

  3. #3
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    Update, I just realized that (I) should be a VAR WORD, since it will be over 255. Thanks for your input guys but the problem remains that I still cannot program these chips that talked about.

    ' Timer countdown test
    trisa = 0
    porta = 0
    Start:
    I var word
    for I = 1 to 2000
    next I
    porta.0 = 1
    pause 5000
    end

  4. #4
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    Your posted code has several problems, beginning with the lack of capitalization for the register names.
    Do you intend it to turn PORTA.0 to a one and nothing else? If so, why delay?

    Your issue is likely with the configuration bits. Please post your code for configuration...

  5. #5
    Join Date
    Nov 2008
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    I have run to this many times. I used my Pickit2(tm) to erase the pic and then is was ok.
    Regards
    CharlieM
    Using PBP3
    MCSPX

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    I posted the solution in your other thread have you tried it?

  7. #7
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    Charlie, please refer to post #6 above, I use this to set the timing of some of my programs. I know my Cap. is off, just posting an experiment, Thanks for responding.

  8. #8
    Join Date
    Aug 2008
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Bad 16f88

    I tried your solution Rep. butthere is no way for me to change vdd in QLprog.

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