Send Message (Very new to this) 13 Years, 2 Months ago
|
|
Hi, I'm new to this and trying to use this software to send a message to an iRobot Create via serial port. From what I've read in documentation/posts, I set up a key mapping, so that when I press F5 the following script is run:
Sub Main
Print("Lalala")
Terminal.Print("Ladeeda")
DIM success
success = Terminal.SendText("128 132 139 2 0 0")
if success = TRUE then
MsgBox "Worked ok"
else
MsgBox "Not ok"
end if
End Sub
I'm new to VB, which explains the various print statements. However, after pressing F5, nothing happened. No printing, no message boxes, and no response from my robot. What am I doing wrong?
Thanks a lot,
|
|
|
Logged
|
|
The administrator has disabled public write access.
|
|
Re:Send Message (Very new to this) 13 Years, 2 Months ago
|
|
When you embed a script in the keyboard mapping, the first line of the script hast to say:
VBSCRIPT
followed by the script.
Brian
|
|
bpence (Admin)
Admin
Posts: 1402
|
Logged
|
|
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
|
|
The administrator has disabled public write access.
|
|
|