In this video I show a simple way to control a digital output from an analog input. Using a compare function. The compare function is a very simple, but very useful tool. I hope this helps some of you, and entertains the rest. Thanks for watching! Like, subscribe, share! Any questions, ask away. I will do my best to get back to you.