Hi,
I could really use some help on this.
I can send one hex number (41) with the code below. But I dont know how to send a string ec 0x41, 0x42, 0x42, 0x41, 0x41, 0x42, 0x41, 0x42.
Any help would be much appresiated
;Include the Serial UDF
#include 'CommMG.au3'
;Internal for the Serial UDF
Global $sportSetError = ''
;COM Vars
;_CommSetPort($iPort, ByRef $sErr, $iBaud = 9600, $iBits = 8, $iPar = 0, $iStop = 1, $iFlow = 0, $RTSMode = 0, $DTRMode = 0)
Global $CMPort = 3 ; Port
Global $CmBoBaud = 19200 ; Baud
Global $CmboDataBits = 8 ; Data Bits
Global $CmBoParity = "none" ; Parity
Global $CmBoStop = 1 ; Stop
Global $setflow = 2 ; Flow
Global $RTSMode = 1
Global $DTRMode = 1
Global $iWait = 0
;Start up communication
_CommSetPort($CMPort, $sportSetError, $CmBoBaud, $CmboDataBits, $CmBoParity, $CmBoStop, $setflow, $RTSMode, $DTRMode)
$byte = ("0x41")
_CommSendByte($byte, $iWait)