how to compare data


Results 1 to 20 of 20

Threaded View

  1. #7
    Join Date
    May 2009
    Posts
    66


    Did you find this post helpful? Yes | No

    Angry

    ty for reply still the problem it toggle the rely even i change the data in ext epprom or in pic eeprom it still doing error im sure there other way to compare variables .plz need more help how to compare variables i want to do this project for doorlock so i will have 24c02 in my keys ty aratti

    Code:
    SCAN:
    FOR ADR = 0 TO 7
    NEXT ADR
    I2CREAD SDAT,SCLK,$A0,ADR,[KEY] 'same data  as data eeprom  
    PAUSE 10
    READ ADR,KEY1    ' same data as external eeprom 24c02
    PAUSE 100
    IF (KEY = KEY1) THEN , here is the problem it does hight rely even i put diffirent data in key and key1
     HIGH RELY 
    PAUSE 1000
    LOW RELY
    ENDIF
    Last edited by Mus.me; - 29th October 2009 at 01:54.

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 04:47
  2. Nokia 3310 display text
    By chai98a in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th August 2007, 03:39
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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