EEalmost
Technical User
- Jun 14, 2007
- 7
I can output a string to com port 1 with the following code:
Dim fs, b
Set fs = CreateObject("Scripting.FileSystemObject")
Set b = fs.CreateTextFile("COM1:",True)
b.Write &hFFFFFF
I'm trying to send data to COM1's base address, 0x3F8 (to send data) and an offset address 0x3FC (to control the RTS and DTR pins)
The following code doesn't send data to COM1:
Dim fs, b
Set fs = CreateObject("Scripting.FileSystemObject")
Set b = fs.CreateTextFile(&h3F8,True)
b.Write &hFFFFFF
I'm not sure on the formatting or should I go in a different direction.
Thanks
Dim fs, b
Set fs = CreateObject("Scripting.FileSystemObject")
Set b = fs.CreateTextFile("COM1:",True)
b.Write &hFFFFFF
I'm trying to send data to COM1's base address, 0x3F8 (to send data) and an offset address 0x3FC (to control the RTS and DTR pins)
The following code doesn't send data to COM1:
Dim fs, b
Set fs = CreateObject("Scripting.FileSystemObject")
Set b = fs.CreateTextFile(&h3F8,True)
b.Write &hFFFFFF
I'm not sure on the formatting or should I go in a different direction.
Thanks