Saving RFID Data


Results 1 to 27 of 27

Threaded View

  1. #27


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Ok this is a very good argument ! :-)

    Is good that you have warnning me I forgot this :-(

    I think that i should the Data discard !

    Or I think wrong !?

    Something like this:

    Bad_Data var bit
    Bad_Data = 0

    Data_Check:
    for N = 0 to 13
    If Daten(N) < $30 then Bad_Data = 1 : Daten(N) = $30
    Next N
    Select case Bad_Data
    case 0 ' it's all ok
    for N = 13 to 1 step - 2
    Daten[N]= ((Daten[N]-$30) *10) + (Daten[N-1]-$30)
    Pause 5
    next N
    case 1 ' no good :-)
    Bad_Data = 0
    Goto Warning or something like that
    end select

    If I have Daten[N] = $30 this is not bad while $30-$30 = 0

    Regards Pesti
    Last edited by Pesticida; - 2nd February 2008 at 07:42.

Similar Threads

  1. Using Nokia LCD
    By BobP in forum mel PIC BASIC Pro
    Replies: 300
    Last Post: - 3rd May 2018, 05:47
  2. Read/Write Problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th February 2010, 02:51
  3. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 03:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 15:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 29th November 2004, 00: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