aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorper1234 <accounts@perglass.com>2015-11-24 16:23:16 -0800
committerper1234 <accounts@perglass.com>2015-11-24 16:23:16 -0800
commitf873b487c6fc7d42cd4b4aefa57a1a9b8b3b2b65 (patch)
tree832e48759fb2cfa168b918f2f259e1d83508e511 /libraries
parent4dc36e82ddfc9ef7b9eb567eb7ef59113f3a00a6 (diff)
eeprom_clear example: Set pinMode of LED pin
Diffstat (limited to 'libraries')
-rw-r--r--libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino b/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino
index 73d64a7..8b5121c 100644
--- a/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino
+++ b/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino
@@ -11,7 +11,9 @@
#include <EEPROM.h>
void setup() {
-
+ // initialize the LED pin as an output.
+ pinMode(13, OUTPUT);
+
/***
Iterate through each byte of the EEPROM storage.