Added current control with mcp4728 dac.