Availability | All terminals | ||||||
Description |
This function returns the version of the Bootloader of the device.
The version is returned in an 8 character string and is terminated by a null character.
FANV0030 = OPN-2500 Bootloader version 0.30 FAMV0030 = OPN-6000 Bootloader version 0.30 |
||||||
Syntax | char GetBootVersion( void ); | ||||||
Arguments | None | ||||||
Returns | A pointer to a zero terminated string with the version number. | ||||||
Remarks | None | ||||||
Example |
#include <stdio.h> #include "lib.h" void main( void ) { int key; ResetKey(); printf("\nPress trigger key"); for(;;) { if( (key = getchar()) != EOF) { ResetKey(); switch( key ) { case TRIGGER_KEY: Sound( TSTANDARD, VHIGH, SHIGH, 0); printf("\nBootloader = %s", GetBootVersion()); printf("\nO/S = %s", GetOsVersion()); printf("\nAppl. = %s", GetApplVersion()); break; default: Sound( TCLICK, VHIGH, SLOW, 0); break; } } Idle(); } } |