On 28/02/2020 22:01, Alister wrote:
> On Fri, 28 Feb 2020 12:27:48 -0500, Dennis Lee Bieber wrote:
>
>> On Fri, 28 Feb 2020 11:39:05 GMT, Jan Panteltje
>>
>> declaimed the following:
>>
>>
>>> The GPIO as _digital_ input sees a 'logic zero' below some voltage and a
>>> 'logic one' above some voltage.
>>> Th exact voltage can vary, also depends on temperature and production
>>> spread,
>>> but is somewhere between 0 and 3.3 V
>>>
>>>
>> Presuming common CMOS thresholds of 30 and 70%: <0.99V is LOW,
>> 2.31V
>> is HIGH. What the circuit does between those thresholds is indeterminate
>> (I'd hope it holds the last valid state until the far threshold is
>> crossed).
>
> that is exactly what does NOT happen.
> the logic sate will flip at some in-determinant point between the two
> thresholds. The thresholds are simply points at which the state is
> guaranteed.
>
>
Not even that. it will in fact hover between states drawing lots of
current if its normal CMOS. You can make a crude analogue amplifier out
of a CMOS inverter.
>
>
--
"I am inclined to tell the truth and dislike people who lie consistently.
This makes me unfit for the company of people of a Left persuasion, and
all women"
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|