i was out of this discussion for a while due to an exam..anyway..i think that is an issue...qbasic help told me that baud rate shouldnt be more than that value(9600)..i am not sure what i will do....i will try to make it an another way first..if i fail..than i have to again think about it...can...
i tried to catch the byte through PIC but seems to me not working..one reason might be that QBASIC has max baud rate 9600 but in PIC and hyperterminal i am using 19200..i have to strict on this 19200 as i am also displaying the PIC data using rs232..that issue is major concern than this...
DIM b AS STRING * 1
DIM i AS LONG, le AS LONG
line input "File name? "; file$
OPEN file$ FOR INPUT AS #1 'verify file exists
CLOSE
OPEN file$ FOR BINARY AS #1
OPEN "COM1:19200,N,8,1,BIN,CD0,CS0,DS0,OP0,RS,TB2048,RB2048" FOR RANDOM AS #2
le = LOF(1)
PRINT "Transfering:"; le; "bytes at baud rate...
that is the way (chr$(7)) i think to input 7 as an unsigned byte value..may be i am wrong..if so than let me know...
I have searched some documentation and found that this might be a reason..i am running in windows xp and using an old version of QBASIC(4.5). I want to synchronize it with an...
yes i have gone thorugh that i tried with the following code:
DIM b AS STRING * 1 '1 byte string (8 bits)
OPEN "COM1:19200,N,8,1,BIN,CD0,CS0,DS0,OP0,RS,TB2048,RB2048" FOR RANDOM AS #1
For i = 1 to 1000
b = CHR$(7)
PUT 1, , b
next i
CLOSE
the purpose of this code is to send 7 continuously to...
Hi..
Can any one send me a piece of coding how to communicate or send data to RS232 terminal? I am trying to communicate between a PIC and PC through RS 232. I know how to communicate through PIC if a data comes to RS 232 terminal but i need to send some data to RS232 from the PC program. I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.