Search found 11 matches

by jburrow
15 April 2011, 10:01 AM
Forum: ZBasic Language
Topic: Displaying A Byte As A Bit String
Replies: 1
Views: 2584

Displaying A Byte As A Bit String

I'm in the middle of debugging a data stream, using many 'debug.print cstrhex(byte)' type statements. Then I have to do hex arithmetic in my head to figure out which bits are on and which bits are off. As I'm looking at bit values, I have been trying to find s statement like 'debug.print cstrbit(byt...
by jburrow
02 April 2011, 16:19 PM
Forum: ZBasic Language
Topic: Reading 9 Bits Of Data
Replies: 2
Views: 3272

Reading 9 Bits Of Data

I have seen some posts here previously about reading 9 data bits from a network, but I'm afraid I still don't understand how accomplish this. I am successfully reading data from an RS485 network, via a MAX485 line driver, but I think I'm only getting 8 of the 9 bits. The 9th bit is used to signal th...
by jburrow
14 March 2011, 13:16 PM
Forum: ZBasic Language
Topic: More On Serial Comms
Replies: 2
Views: 2890

Thank you Don. I appreciate your speedy responses.

John Burrow
by jburrow
14 March 2011, 11:59 AM
Forum: ZBasic Language
Topic: More On Serial Comms
Replies: 2
Views: 2890

More On Serial Comms

I need some help with serial comms on my ZX1280 dev board please. This works just fine. I have verified the incoming data is correct. call DefineCom(2, 0, 0, &H08) call OpenQueue(LNIn, SizeOf(LNIn)) call OpenQueue(LNOut, SizeOf(LNOut)) Call OpenCom(2, 16457, LNIn, LNOut) This does not work. The ...
by jburrow
13 March 2011, 16:09 PM
Forum: ZBasic Language
Topic: Trying to instal v3.3
Replies: 3
Views: 3064

Hi Don,

Currently running the ZX-1280 development board.

John
by jburrow
13 March 2011, 13:11 PM
Forum: ZBasic Language
Topic: Trying to instal v3.3
Replies: 3
Views: 3064

Trying to instal v3.3

I have downloaded and executed zbasic-setup_3-3-0.exe several times. My download programs still show ZBasic 3.0.4, despite having compiled/downloaded several times. I have also removed and reinstalled ZBasic. And of course, several reboots for good measure. Suggestions, please. Thanks, John Burrow S...
by jburrow
07 January 2011, 9:11 AM
Forum: ZBasic Language
Topic: Could I be Causing A Slowdown By Using 3 Software Channels?
Replies: 4
Views: 3928

Thanks Don.

I went ahead and ordered the ZX-1280, so I can use the extra hardware UARTs.

Previously, we had a discussion about my need to communicate at 19K2, Inverted.

Am I correct in thinking I have to use a software UART for Inverted communication?

John
by jburrow
06 January 2011, 12:02 PM
Forum: ZBasic Language
Topic: Could I be Causing A Slowdown By Using 3 Software Channels?
Replies: 4
Views: 3928

Could I be Causing A Slowdown By Using 3 Software Channels?

I have been successfully using a ZX24p with 2 software com channels. Channel 3 is 19k2 inverted, 8, none, 1 and Channel 4 is 2400, 8, none, 1. I added a Channel 5 at 9600, 8, none, 1. This appeared to cause a significant slow down in the processing. As an experiment, I moved the communication on sof...
by jburrow
05 January 2011, 10:03 AM
Forum: ZBasic Language
Topic: Multiple ZX-24p to one serial device
Replies: 4
Views: 3885

I tried it and it works great!. Does definitely require a pull-down resistor.

Thanks again, John
by jburrow
04 January 2011, 6:58 AM
Forum: ZBasic Language
Topic: Multiple ZX-24p to one serial device
Replies: 4
Views: 3885

Thank you Don. I'll try this as soon as I can.

John
by jburrow
03 January 2011, 20:32 PM
Forum: ZBasic Language
Topic: Multiple ZX-24p to one serial device
Replies: 4
Views: 3885

Multiple ZX-24p to one serial device

I am told that to have multiple ZX24s outputting to one serial device, using the same line, I should be utilizing 'Open Drain'. I'm using 19K2 Inverted, 8, None, 1, but I can't see anything in the documentation or forum about Open Drain, except one reference to using the same pins for input and outp...