OMG!
Quickbasic, haven't used that in so many years. Just went down memory lane googling for an answer here. Can't really says it's an answer or not, but here's a few things I found.
Every example I found for OPEN looked like this
OPEN "COM1:9600,N,8,1,CD0,CS0,DS0,OP0" FOR OUTPUT AS #1
Couldn't for the life of me find out what the extra OP0 is for??
Then the PRINT statements would correlate to this...
PRINT #1, CHR$(85);
-- OR --
PRINT #1, CHR$(byte) ' for your program.
<hr>
On the hardware side, the PC puts out TRUE RS-232, but your PBP program is expecting Inverted RS-232. Can I assume you only have resistors in-between the PC and PIC? Or, is there a MAX232 (or equiv.), in which case you would need T9600 instead of N9600.
.
Bookmarks