comm. event - a very, long question
i'm facing a very big, long and difficult problem that i really cannot solve it oledi. is my final project n if i can't make it, i need to extend lah!!!!!!!
is about commport, comm. event .
plis, i really need some help!! not some, but a lot.
abdul, alex_read, Sastraxi n many others: ya, sorrylah, is me again!!! is previous question again, rejected by lecturer oledi!!!
i disappointed u o!!!! sorrylah!!!!!!!!!!
For the serial tidbit you can't; it's one bit of data in and one out every time you send the data. So, you must send then change the data, send again, etc. That is why FireWire and USB aren't huge cables, they use serial arcitectture.
To test it, make it transmit a bit, make the electronics at the other end loop back to the input, and then when you recieve the input bit write what you got.
Cheers
I'll try to see what's with your project...
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
(Just a heads-up)
thanx sastraxi again!!!!!!!!
actually, last time bf i connect my serial port ( RS 232 ) to the 8051 microp, what i try to do is connecting 2 PCs with 1 direct link cable, but won't work also!!! so i leave the testing part!! but now my lecturer ........
hai~h!!!!!
at least u read my project!!!! thanx a lot!!!!! u r the only reply me.
actually, what i really need now is how to test my signal!!
i found that last time, someone( Swissa ) posted:
" If you have 2 Serial Ports on your PC ..You can use one SErial Port to send and the other to recieve
You can send using the Hyper Terminal ..and recieving using your program ".
i very interesting about it. can someone plis kindly explain to me?!!!!
Just like I had previously said (although I didn't know that there was only 1 data bit, not 1 data out and 1 data in (like I said before). So just make a loop connector that takes stuff from 1 serial port and puts it in the other. There may even be cables (male to male) that can do this already...
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
(Just a heads-up)
huh, finally i tested my input n output by connected 2 COM port, using my own solder copper wires RS232 cable, use 2 DB9 connectors, 2 copper wire with solder crossly Tx n Rx pin n 1 wire for ground.
n here is another question, as i mentioned earlier, i need to detect my 2 devices, keyboard n joystick. however, if i press on keyboard n move the joystick at the same time, the signals will be corrupted.
so, how can i write to made sure that when i press the keyboard, the movement of joystick won't be detect for temporary, n vice versa?
any command or event that i can use?!