Metrologic Optimus S Programming Manual page 188

"c" programming guide
Table of Contents

Advertisement

182
"C" Programming Guide For Optimus S/R
Example Code
For this purpose, the application should call these functions in the beginning:
#include <lib_opr.h>
#include <ucos.h>
static const int beep[] = {32, 5, 0, 0};
main()
{
SetCommType (2, COMM_RF);
//Add WEDGE_EMULATOR flag to open_com //
open_com (2, BT_SERIALPORT_SLAVE|WEDGE_EmULATOR);
clr_scr();
gotoxy (0, 0); printf ("
gotoxy (0, 1); printf ("====================");
gotoxy (0, 2); printf ("
gotoxy (0, 3); printf ("
gotoxy (0, 4); printf ("====================");
while (1) {
if (WedgeReady()) break;
OSTimeDly (4);
Virtual Wedge
");
Wait
");
Connecting...
");

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents