![background image](http://html1.mh-extra.com/html/hand-held-products/padcom-tt1500/padcom-tt1500_user-manual_589777090.webp)
5 - 2
// TURN PAD ON-INITIALIZE
//=======================
if( !padOn() )
{
cputs( "Can't find writing pad!" );
return;
}
//========================
// SWITCH TO GRAPHICS MODE
//========================
if( !GraphOn() )
{
cputs( "Unable to use graphics" );
padOff();
return;
}
//==========================
// START REAL TIME RECORDING
//==========================
padRecord();
//=============
// COLLECT DATA
//=============
while( !kbhit( ) )
{
// CHECK IF THERE IS MORE DATA FROM THE PAD
if( padUpdate() && padGet( &x, &y, &p ) )
{
// SCALE THE POINTS TO ABOUT DOUBLE In SIZE
padScaleDPI( &x, &y, 160, 160 );
// DRAW THEM ON THE SCREEN
if( p )
_lineto( x, y );
else
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...