simpletext library  v0.98
Compact variations of put/get write/read and print/scan for smaller program sizes
Functions
writeDecDigits.c File Reference
#include "simpletext.h"

Functions

void writeDecDigits (text_t *p, int val, int width)
 Print string representation of a decimal number to output device with a fixed number of digits.

Detailed Description

Function to print a number of space padded width to the terminal.

Copyright (c) 2013, Parallax Inc. Written by Steve Denson

Function Documentation

void writeDecDigits ( text_t device,
int  value,
int  width 
)

Print string representation of a decimal number to output device with a fixed number of digits.

Parameters
devicePreviously open/started terminal device.
valueNumber to print.
widthNumber of characters to print padded by spaces.