Well done Nic, beats my sense resistor and transistor by a mile.

Cheers
BrianT