Delay Problem,Byte,Word


Results 1 to 21 of 21

Threaded View

  1. #1

    Default Delay Problem,Byte,Word

    Hi,

    I have a little problem:

    Delay1 var word
    DataIn var byte [12]

    ...........

    Delay1 = Datain[3]

    ................
    pause Delay1

    Pause just work wenn Delay1 > 255 Why.

    I want for Example to have a Delay sometimes 1 or 10 or 50 Milliseconds and sometime over a Second.
    Its just work when Delay1 > as Byte.

    How can I transform this Datain to Word.
    I try with this:

    Delay1.byte0 = Datain[3]
    Delay1.byte1 = Datain[4]

    Pause delay1

    But this dont' Work.

    I need Please a Help.
    Thank You very mouch !!!

    Ciao.
    Last edited by Pesticida; - 30th December 2006 at 16:43.

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. RF Transmitter
    By et_Fong in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 27th October 2005, 16:34
  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 : 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