Answer #3 and #4 please thank you! 3. Answer the following about the Arduino PCB
ID: 2248358 • Letter: A
Question
Answer #3 and #4 please thank you!
Explanation / Answer
3: Arduino consists of variety of boards
The most frequently used is arduino uno
There are 14 digital input output pins out of which three provide provision for PWM
There are about 6 analog input pins in ardiuno uno
4. The pinMode() function is used to set a digital pin as input or output. The syntax of this function is as follows
pinMode(pin,mode).
Here mode can either be input or output. While pin defines the pin which you want to configure as an input or output.
Configuring a digital pin as an input:
pinMode(13, INPUT)
The above code sets configures digital pin no 13 of the arduino as an input pin
Configuring a digital pin as an output:
pinMode(11, OUTPUT)
The above code sets configures digital pin no 11 of the arduino as an output pin