Use this function to create single 3 bit data packet or control packet. To construct the valid 8 bit data packet user need to call this function 3 times and in last packet MSB is ignored by the device firmware.
Syntax:
//Lazarus/Delphi/Pascal
function UTMCreatePacket(OutData: byte): word;
//C/C++
short UTMCreatePacket(char OutData);
//C#
ushort UTMCreatePacket(byte OutData);
Use this function to send byte to microTone Module.
Syntax:
//Lazarus/Delphi/Pascal
function UTMCreateBytePacket(OutData: Byte): Word;
//C/C++
short UTMCreateBytePacket(char OutData);
//C#
ushort UTMCreateBytePacket(byte OutData);
Use this function to send short or 16 bit numerical data type to microTone module.
Syntax:
//Lazarus/Delphi/Pascal
function UTMCreateShortPacket(OutData: Word): Word;
//C/C++
short UTMCreateShortPacket(short OutData);
//C#
ushort SendShort(ushort OutData);