A constant current supply for a laser diode