Question
microprocessor course.
EET326 Micropr ocessors Name Provide complete explanation for your response. Date 1. Describe the following declarations in your own words: a) char bufferi12 (10pts) b) const int InputPin 5; 2. (10pts) Place comments for the code below const int ledPin 13 const int inputPin 11; void setup) lI lI pinMode(ledPin, OUTPUT); II pinMode(inputPin, INPU); II digitalWrite(inputPin,HIGH); II 3. For the code below, number will have a value of after execution. (5pts) int number 12; number2
Explanation / Answer
1.
a) char buffer[12]
here we are declaring a buffer to store a character string of max 12 characters.
b) const int InputPin=5;
Here we are choosing pin no. 5 as the input pin for the pushbutton.