LCDOUT dec2,ticks - what is dec2 ?

Discussion in 'Embedded Systems and Microcontrollers' started by merc07, Jun 23, 2009.

  1. merc07

    Thread Starter Member

    May 6, 2009
    I am trying to use part of an included asm code in my picbasicpro code to display time in milliseconds between two inputs using interupts. This works ok and values like 2063 or 604 are displayed fine. However, 1100 is displayed as 11, the zeros are always ommited ?
    I'm guessing dec2 is used to display a decimal equivalent and using 2 digits but I can't find any info on it. I have tried just dec and dec3 / dec4 - I guess there is a very simple solution.