How to use a multimeter for advanced measurements: Part 1 - Diodes