Edit: PIC18F2620 not 2820!
Edit: PIC18F2620 not 2820!
Try
Code:hserout [13,10,hex accx," ",hex accx2," ",hex accy," ",hex accy2," "] PAUSE 10 hserout [13,10,hex accx]
Dave
Always wear safety glasses while programming.
Hi Dave,
It's the line with the different variables that's the issue. I essentially just want to use one HSEROUT and output all the variables in one shot and then call the I2C bus and get more, ad infinitum. But the serial output goes crap if I ask it to output more than one or two variables.
I had tried what you suggested to no avail. It would also go screwy if I changed the pause value directly after the I2CREAD (just before the HSEROUT) from 10us to something like 1ms... ?!
Made no sense to me whatsoever!
Cheers
Jimbo
Try SEROUT2 . Might be something about a buffer I am not able to remember...
Or DEBUG ???
Sorry, but I can not think what it is and I am not able to test on hardware at the moment.
Dave
Always wear safety glasses while programming.
Bookmarks