Looks very similar to mine. Great minds. If you are going to just use high and low I would also recommend normalising or mapping the values for use. Equation for mapping: mappedValue=(currentValue-min)/(max-min)*100. This will keep your Min and Max in 0 to 100 scale as you technically haven't calibrated with you code.
Really great videos, I have learned a lot from your channel. Keep it up, and look forward for more and more videos to come! Bravo!!!
Looks very similar to mine. Great minds. If you are going to just use high and low I would also recommend normalising or mapping the values for use. Equation for mapping: mappedValue=(currentValue-min)/(max-min)*100. This will keep your Min and Max in 0 to 100 scale as you technically haven't calibrated with you code.