You are on page 1of 1

Program Prog1;

var code: string;

AM: Integer;
procedure ReadCode;
begin

Code := inttohex(GetByteHexEdit($BC),0)+inttohex(GetByteHexEdit($BF),2);
AM:= strtoint('$'+Code);

MsgBox(IntToStr(AM), 'El Codigo Pin Es', MB_OK);

end;

begin

AddDeviceGroup( 'VW FOX', 'Seleccionar Un Programa' );

AddDevice( 'INMOBOX', '93C56', 'VW FOX', '93C56');

AddAction( 'LEER PIN CODE', 'ReadCode', 'INMOBOX' );

end.

You might also like