Source: http://jeanmanuel.ducret.free.fr/TP/Oscilloscope.pdf