Text this: Low-cost programmable sine wave driver for inductive loads with built-in current sensing.