no TX data after calling analogRead

Help!

I've tried using the software serial libraries to provide a debug line, whilst keeping the usart for comms with an external gsm modem.

However, as soon as I can analogRead(n), the TX data on the debug line stops.

I've tried various software libraries, newSoftSerial, softSerial and it happens with all of them, so it must be something Iam doing wrong.

The ardino version is 0022, and it's a mega328 running at 8mhz on a sparkfun board.

Any ideas muchly appreciated.

Mike

Post your code, we need to see what you've done.

But you're not doing the analogRead on the same pin as the serial Tx are you?


Rob

Nope, using two of the digital pins for the soft serial. I will indeed post some code later.