Arduino for modifying resistance values

Here is a current source (sink?), circuit attached.
It uses a bugbear: a PNP transistor.
So long as the 5V is regulated the current will keep.
If you need values for 12V, let me know.