TimFr:
Re baud rate I changed to IRQ1 (pin 3), this work fine on 9600 but on 115200 the readings are all over the place??
Serial output uses interrupts, and at a higher baud rate it will use more of them. This will throw out readings that rely on interrupts.