2 ms·
Excerpts: "The most basic pins are digital pins, they can only either be on or off. You would, for example, use them to check if a button is pressed. Or if you
by peter_d_sherman 7y ago
Excerpts:
"The most basic pins are digital pins, they can only either be on or off. You would, for example, use them to check if a button is pressed. Or if you use them as output, turning a led on or off."
[intermediate content deleted for brevity...]
"And while those pins cannot output a true analog signal, they can use a technique called PWM to approximate one by only switching the signal on for some time."
Fascinating! Knew about digital pins before this, and PWM generally speaking (with respect to PC fans, power supplies, etc.) -- and yet, I did not proverbially put "2 + 2 together" in my head! (For some inconceivable reason I always conceptualized PWM as analog/multiple waves per unit time, in nature...) Yup, makes a ton of sense!
Anyway, thanks for the great article!