Lesson 04 - Debug/debug_swo.c
void PrintNumber(uint32_t num)
{
    char digit;

    digit = '0' + (num % 10);

    num /= 10;
    if(num)
        PrintNumber(num);

    PrintChar(digit);
}
/* Print number as decimal ASCII string */
Print number as decimal ASCII string
Print number as decimal ASCII string
void PrintNumber(uint32_t num)
{
    char digit;
    digit = '0' + (num % 10);
    num /= 10;
    if(num)
        PrintNumber(num);
    PrintChar(digit);
}
void PrintNumber ( uint32_t num ) { char digit ; digit = ' ' + ( num % 10 ) ; num /= 10 ; if ( num ) PrintNumber ( num ) ; PrintChar ( digit ) ; }
Print number as decimal ASCII string
Print number as decimal ASCII string