Question: 21
(Choose 1 answer)
What is the objective of the code given below if it is executed on the Arduino Uno?
1.
2.
4
5.
}
#include<EEPROM.h>
int pin=13;
void setup() {
pinMode(pin,OUTPUT);
Serial.begin(9600);
void loop() {
for(int i=0;i<EEPROM.length();i++) {
EEPROM.write(i, 1);
10
}
11.
112
12.
digitalWrite(pin,HIGH);
}
exit(0); 13.
A. Clear EEPROM
B. Fill EEPROM with 1's
C. Export EEPROM data
D. Fill EEPROM with O's