Search found 11 matches
- 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...
- 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...
- 14 March 2011, 13:16 PM
- Forum: ZBasic Language
- Topic: More On Serial Comms
- Replies: 2
- Views: 2890
- 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 ...
- 13 March 2011, 16:09 PM
- Forum: ZBasic Language
- Topic: Trying to instal v3.3
- Replies: 3
- Views: 3064
- 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...
- 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
- 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...
- 05 January 2011, 10:03 AM
- Forum: ZBasic Language
- Topic: Multiple ZX-24p to one serial device
- Replies: 4
- Views: 3885
- 04 January 2011, 6:58 AM
- Forum: ZBasic Language
- Topic: Multiple ZX-24p to one serial device
- Replies: 4
- Views: 3885
- 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...