Very nice Paul!!!

Just a note for when you work on the comparator setup.
You said the comparator did not do anything. It changes the ADC to digital.