Search found 4 matches

by marcelo_bahia
21 July 2009, 12:00 PM
Forum: ZBasic Language
Topic: exchange position bit
Replies: 3
Views: 4493

exchange position bit

I need to read individual bits in a byte and put some of those bits in a byte in different positions. you can help me , thanks for example: dim a as byte dim b as byte dim c as byte a=bx 0001 1101 ' (a7....a0) decimal=29 b=bx 1000 1100 ' (b7....b0) decimal=140 eg I need to exchange these bits c=000b...
by marcelo_bahia
23 June 2009, 4:58 AM
Forum: ZX-24
Topic: com2 ,problems with bit stop
Replies: 2
Views: 5902

results

1)changing Call DefineCom(2, 0,0, &H38,3) ,for 2 stop bits as shown in photo 3 bit.jpg

2)changing Call DefineCom(2, 0,0, &H38,2) ,for 1 stop bits as shown in photo 2 bit.jpg

thank you Don
by marcelo_bahia
22 June 2009, 9:54 AM
Forum: ZX-24
Topic: com2 ,problems with bit stop
Replies: 2
Views: 5902

com2 ,problems with bit stop

I use the following configuration in Z24-P to transmit,com2 only tx pin11 8-p-2 (8 data bits, even parity, 2 stop bits at 115000.) my problem is that no appear 2 stop bits y and alters the output bit will have some problem with the progracion, which may be the error? the z24 has a max232 connected, ...
by marcelo_bahia
15 May 2009, 14:25 PM
Forum: ZBasic Language
Topic: Com1 even parity and Tx 115 k,problem
Replies: 1
Views: 5326

Com1 even parity and Tx 115 k,problem

1)I have problem to tx Z24p, using Com1 to Hyperterminal PC, in the following format with eight bits of data, even bit parity and 2 stop bits 8-E-2 when you put even parity error and is not tx to PC, if I do not use even parity works ok , you can help me.Thank you ' initialize the queue Call OpenQue...