' =================================================
'  THIS EXAMPLE SENDS A RESET TO AN ARDUINO MODULE
' =================================================

Button 1 Label ResetDTR
Button ResetDTR Text "Reset arduino module"
Button ResetDTR Color Red

COM Open 3 1000000 ' <- Set port and bauds as appropriate
Stop

Label ResetDTR
	' This command is used to reset Arduino
	COM EnableDTR
	COM Open 1200
	Wait Seconds 0.1
	COM Close
	Wait Seconds 0.3
	COM Open ComPort Bauds
Return
