Photo 1—Based on the user interface’s setting, the processor generates a signal that is being read back in and displayed. At the same time, the PWM signal is generated and used to verify my analog oscilloscope timebase.