You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm a technology teacher and I also teach workshops for beginners in programming, and apart from analogWrite, the other major problem is pinMode. This function is logical, rigorous and allows you to prepare your project, except that the documentation (which beginners cannot read in full) explains that it is not useful for the INPUT, the default state. And any 'exception' makes what you're doing less intuitive and can be discouraging.
So to help beginners, I think you should impose pinMode on both INPUT and OUTPUT, and signal an error when compiling.
Thanks in advance for the discussion.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm a technology teacher and I also teach workshops for beginners in programming, and apart from analogWrite, the other major problem is pinMode. This function is logical, rigorous and allows you to prepare your project, except that the documentation (which beginners cannot read in full) explains that it is not useful for the INPUT, the default state. And any 'exception' makes what you're doing less intuitive and can be discouraging.
So to help beginners, I think you should impose pinMode on both INPUT and OUTPUT, and signal an error when compiling.
Thanks in advance for the discussion.
Beta Was this translation helpful? Give feedback.
All reactions