Use LED driver as a switching power supply for arduino

How convert a constant current source to constant voltage source.???