12f675_fuse_about_to_blow!


Results 1 to 40 of 929

Threaded View

  1. #33
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    MAIN:
    ' Fire up Timer1 before entry to serial input routine
    T1CON.0 = 1
    So the Timer1 is running and we've got 65.5ms to receive the data.

    I guess a question here would be how fast does a PIC receive DATA? At the moment we're only receiving the SYNCH - DAT_IN1 - DAT_IN2 & CHK_SUM BYTES. If for example when the project is running and we send accumalative Bird Box Visit_Data (day1 + day2 etc.....n) then after a Month we'd have 30 Bytes or Words even, would that time_out? Because as the program stands:

    Code:
    T1CON.0 = 0
    After the Data has arrived.

    Anyway moving on.

    So the Data has arrived:

    Code:
    SERIN2 D_IN,N2400,[WAIT(Synch),DAT_IN1,DAT_IN2,CHK_SUM]
    Then:

    Code:
     T1CON.0 = 0    TMR1L = 0  TMR1H = 0
    So Timer1 is stopped - TMR1H&L BYTES cleared.

    Before I carry on with **Begin Data Validaition**

    What does the ! in: IF CheckSum ! mean please mackrackit.

    Dave
    Last edited by LEDave; - 21st November 2010 at 15:57.

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