aboutsummaryrefslogtreecommitdiff
path: root/libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino
diff options
context:
space:
mode:
authorChris--A <chris@genx.biz>2015-03-24 13:58:01 +1000
committerChris--A <chris@genx.biz>2015-03-24 13:58:01 +1000
commit5da9792cd61b5ba9eed9fb80874edb52081d6232 (patch)
tree13ea73606522e092346c2b9c84020870e8efae72 /libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino
parent26577474efcb8874dad687467a8ba2f01678ff4c (diff)
Fixed EEPROM examples and added readme
Diffstat (limited to 'libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino')
-rw-r--r--libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino16
1 files changed, 0 insertions, 16 deletions
diff --git a/libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino b/libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino
index a2d825c..650c90a 100644
--- a/libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino
+++ b/libraries/EEPROM/examples/eeprom_iteration/eeprom_iteration.ino
@@ -51,22 +51,6 @@ void setup() {
idx++;
}while( idx < EEPROM.length() );
- /***
- Iterate the EEPROM using a C++11 ranged for loop.
-
- This version of the loop is best explained in the example 'eeprom_pointer'
- as this kind of iteration uses pointers rather than an index/integer.
-
- !! Note: C++11 is not yet enabled by default in any IDE version.
- Unless you manually enable it, this sketch will not compile.
- You can comment the loop below to verify the non C++11 content.
- ***/
-
- for( auto cell : EEPROM ){
-
- //Add one to each cell in the EEPROM
- cell += 1;
- }
} //End of setup function.