10-24-2004, 10:46 PM
I've been having some serious trouble lately with trying to send something to the PDA through COM 1. But I can't even get past the part where I set up the OPEN COM statements. My qbasic code looks like this:
And then my code on the PDA looks like this: (using OWBasic)
(96 would be multiplied by 100 to make it 9600)
The last 1 demonstrates that the program will be in CS/RS flow.
But the problem is, my program won't even finish! In Qbasic it waits and waits but nothing happens. Do the Communication speeds have to match on both my computer and on the PDA?
Second Question:
Once I get the speeds correct, can I use print # and write # statements like I normally would in sequential files?
Thanks for any help!
Code:
OPEN "COM1: 9600,N,8,1,CS1500" FOR APPEND AS #1
And then my code on the PDA looks like this: (using OWBasic)
Code:
SRLOPEN 96, 8, 0, 1, 2, 1
(96 would be multiplied by 100 to make it 9600)
The last 1 demonstrates that the program will be in CS/RS flow.
But the problem is, my program won't even finish! In Qbasic it waits and waits but nothing happens. Do the Communication speeds have to match on both my computer and on the PDA?
Second Question:
Once I get the speeds correct, can I use print # and write # statements like I normally would in sequential files?
Thanks for any help!