Multi items
This commit is contained in:
@@ -56,13 +56,11 @@ ai.on(Tinkerforge.BrickletAnalogInV2.CALLBACK_VOLTAGE,
|
||||
}
|
||||
);
|
||||
|
||||
console.log('Press key to exit');
|
||||
process.stdin.on('data',
|
||||
function (data) {
|
||||
ipcon.disconnect();
|
||||
process.exit(0);
|
||||
}
|
||||
);
|
||||
process.on( 'SIGINT', function() {
|
||||
console.log( "\nGracefully disconnect " + HOST );
|
||||
ipcon.disconnect();
|
||||
process.exit( );
|
||||
});
|
||||
|
||||
|
||||
/* private */
|
||||
|
||||
Reference in New Issue
Block a user