I was wondering what precautions I should take for measuring a coil's inductance. Following some capacitive sensing approaches my idea was to use a MCU pin for pulling a pin connected to the coil L1 HIGH and then measuring the voltage drop across a resistor R1 in series to the coil.
WRITEPIN+-----------o----UUUU---o--------o---------R1--------| GND \\----|