Arduino Ammeter

dhenry:
The voltage across an inductor is proportional to di/dt.

For an ideal inductor, yes. A real physical inductor is likely to have resistance and capacitance too. (How significant these are would depend on the inductor in question.)