private void shutdown ( ) throws IOException { ready . set ( false ) ; sendMessage ( FirmataMessageFactory . analogReport ( false ) ) ; sendMessage ( FirmataMessageFactory . digitalReport ( false ) ) ; parser . stop ( ) ; transport . stop ( ) ; }
Tries to release all resources and properly terminate the connection to the hardware .