What are the two modes that the pinMode() method sets for a particular pin?
(a) DIGITAL and ANALOG
(b) INPUT and OUTPUT
(c) TX and RX
(d) READ and WRITE
This question was addressed to me by my school teacher while I was bunking the class.
My doubt stems from Setting Pin Mode in section Arduino Programming of Arduino