The background "hardware" serial is interrupt driven and use of timing sensitive commands such as serout can cause problems with this.
If the serial display is a character LCD, then remove the serial backpack from the HD44780-compatible LCD module and connect the LCD module to the PICAXE-40X2 using the parallel interface. Use of the parallel interface will not interfere with the background serial.
-----------------------------------
Thanks for the reply.
I'm a bit confused about the terminology "internal Interrupt" and what it means with the difficulty I'm having.
The problem I'm having is that something is stopping the background serial receive before it receives all of the characters .
The 40X2 program I'm writing is part of a system to monitor a heating system
The design incorporates three 40X2's and one 28X2 computers, along with 12 temperature sensors, 12 Optical Couplers, 12 tri colored LED's and four 5 volt relays.
The 40X2 program uses:
I2C, timer3, internal timer 0, hardware serial I/O and serial I/O functions.
Internal timer 0 is the only one for which I enable interrupts using the following instruction.
setintflags %10000000,%10000000
All of the other functions are "polled".
This 40X2 is the I2C "master" .
The serial I/O display I'm writing to is a Picaxe "AXE133 Serial OLED.
The Windows notebook I'm trying to interface with is running VB.net
Following are the setup instructions I'm using in this 40X2
hsersetup B2400_8,%00000111
tmr3setup %00110011
hi2csetup i2cmaster,I2Cslave,i2cslow,i2cbyte
symbol pulseRate = 49910
symbol interruptRate = 65534
settimer pulseRate
timer = interruptRate
In the "Interrupt" routine I count down several "counters" that represent various activities that I'm monitoring.
I'm not sure the meaning of what you're saying about the
.....background "hardware" serial is interrupt driven..............
Again, The problem I'm having is that something is stopping the background serial receive before it receives all of the characters .