How on to get value of variable resistor on model 4 H7 when LCD is plugged?
I would like to use P4 & P5 that are availble when LCD is in place.
I was thinking to do something like:
BinaryLowThreshold = pyb.ADC(“P4”)
Val = (BinaryLowThreshold.read() * 3.3) / 4095)
But I got errors:
P4 => ValueError: Pin(B10) doesn’t have ADC capabilities
P5 => ValueError: Pin(B11) doesn’t have ADC capabilities
Yeah, we don’t have an ADC on these pins.