change in the delay in real time


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Posts
    2

    Default change in the delay in real time

    hi,
    i adjusted the delay of each bit such that it is 250us.i would out a bit in pin_b7. all the simulations are done in mplab stopwatch and protues. but when i do it in real time. that is when i burn it in pic16f877a then the whole thing changes. i dont kno why.

    will it happen because of bad programming or due to tha clock appied. i used 20Mhz clock in simulation and in the practical circuit too..
    while burning i set the fuses to HS(high Speed). i use micropic to burn the hex code.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Do you have DEFINE OSC X at the beginning of the code?

    X is clock speed.

    Post some code, might be some thing else.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Apr 2007
    Posts
    2


    Did you find this post helpful? Yes | No

    Default i use picc

    in C i dont think it is needed.. i will do it and reply u soon

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


    Did you find this post helpful? Yes | No

    Default

    Hello,

    I'm really curious here.

    We've been getting a bunch of people come to this forum requesting help with their C code, but this is a PicBasic Pro forum.

    Was there a link somewhere that you followed to get to this forum?
    Maybe someone recommended this place for help with C code?

    .
    DT

Similar Threads

  1. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 07:57
  2. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 15:23
  3. Timer in real time
    By martarse in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th July 2005, 14:24
  4. Memory Space of the PIC16F84...
    By Tear in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st July 2005, 19:55
  5. Problem with saving to EEPROM...
    By Tear in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st July 2005, 00:10

Members who have read this thread : 1

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