Command pinpad.close

The command pinpad.close is used to close the communication with an external or the internal pinpad.


  1. message [string] Message that will be displayed on the PIN-Pad's display after closing the communication.


In the example above, a connection is opened to the external PIN-Pad, then waits for a key press using the command waitkey. After the key press, the communication with the PIN-Pad is terminated with the command pinpad.close.