Intermec ck1 Guida Di Riferimento
Chapter 2 — Configuring the CK1 System
CK1 SDK Programmer’s Reference Manual
31
///////////////// For EASTER MODE //////////////////
case
't':
printf("\t'1'(Do),
'2'(Re),
'3'(Mi),
'4'(Fa),
'5'(Sol), '6'(La), '7'(Si)\n");
printf("\t'8'(C+),
printf("\t'8'(C+),
'9'(D+),
'0'(F+),
'-'(G+),
'='(A+)\n");
printf("\tPlease Enter A Serial Music Notes:");
scanf("%s",musicnote);
ReturnCode
=
play_buzzer2(musicnote);
break;
case
case
'T':
ReturnCode
=
play_buzzer3();
break;
default:
break;
default:
break;
}
PrintMenu(filename);
}
return
return
ReturnCode;
}
Reading System Volume
Purpose: Get the current system volume.
Syntax:
int devBuzzerReadSystemVolume(void)
On-CK1 Parameters: None
On-CK1 Return: -1
Function
failed
others
Current system volume value
On-Host Parameters: None
On-Host Return: Always return 0
Adjusting System Volume
Purpose: Adjust the system volume for temporary test.
Syntax:
int devBuzzerAdjustSystemVolume(int NewVolume)
On-CK1 Parameters: NewVolume
Value to use as the new volume (the value range is
between 0 to 100)
between 0 to 100)
On-CK1 Return: -1
Function
failed
0 Function
succeeded
On-Host Parameters: NewVolume No
action
On-Host Return: Always return 0