Quantcast
Channel: MEL PICBASIC Forum
Viewing all articles
Browse latest Browse all 4745

Please Help Me

$
0
0
I am new to system programing, there are few problems which i failed to understand please help me
the problems are:
1. How to set the com pointer variable to COM port 3.
2. How to set the size of Word Length to 8-bits to be used in serial communication for data transmission.
3. How to set the size of Stop bits equals 3 in serial port communication.
4. How to turn ON the parity bit and use Even parity.
5. In the following piece of code, the Baud rate being used is 1200. Modify it in a way such that we shall have Baud Rate of 2400.
outportb ((*com)+3,inport((*com)+3)|0x80);
outportb ( (*com),0x60);
outportb( (*com) +1, 0x00);

Viewing all articles
Browse latest Browse all 4745

Trending Articles