We want to realise a cheap measurement of a external voltage over a voltage divider with a STM32F765ZI processor. We calculate VIL with the formula "0,35*VDD-0,04" which is guaranteed by design. On base of this calulated VIL we calculate our voltage ...