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

    I'm going to need someone to hold my hand
    Well metaphorically speaking, I was beginning to panic figuring the code out.

    So am I right in thinking that the DAT_OUT byte:

    Code:
     DAT_OUT = %10101001
    Becomes:

    Code:
     DAT_OUT = %10101011
    When SW1 is pressed.

    And

    Code:
     DAT_OUT = %10101101
    When SW2 is pressed.

    The checksum:

    Code:
    ' Build checksum of 2 data bytes
        CHK_SUM = (DAT_OUT * 2)
    Will that always be the calculated value of BYTE:

    Code:
    DAT_OUT.0[2]=~GPIO.4
    Because this is the last BYTE to be read / run in the program sequence.

    Dave
    Last edited by LEDave; - 17th November 2010 at 22: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