This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Program to print decimal no. 13 on LCD

hi friends i am trying to print all the decimal no's on LCD but i am able to print till 9 only after that i am getting : ; so on

Parents
  • ie,

    lcd_print_digit( 1 );
    lcd_print_digit( 3 );
    


    where lcd_print_digit is a function which takes as its argument the numerical value of each digit.

    Alternatively, if you have a function that takes the character code:

    lcd_print_char( '1' );
    lcd_print_char( '3' );
    

    In general:

    WHILE there are more digits DO print next digit
    

Reply
  • ie,

    lcd_print_digit( 1 );
    lcd_print_digit( 3 );
    


    where lcd_print_digit is a function which takes as its argument the numerical value of each digit.

    Alternatively, if you have a function that takes the character code:

    lcd_print_char( '1' );
    lcd_print_char( '3' );
    

    In general:

    WHILE there are more digits DO print next digit
    

Children