Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 17th, 2012  |  syntax: C++  |  size: 0.45 KB  |  views: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #include <Wire.h>
  2. #include <ExternalEeprom.h>
  3. #include <External24cl256Eeprom.h>
  4.  
  5. void setup() {
  6.   Serial.begin(9600);
  7.  
  8.   External24cl256Eeprom ee(0x50);
  9.  
  10.   Serial.print("Started at: ");
  11.   Serial.println(millis());
  12.  
  13.   for (int i = 0; i < 32000; i++) {
  14.     Serial.println(ee.read(i), HEX);
  15.   }
  16.  
  17.   Serial.print("Finished at: ");
  18.   Serial.println(millis());
  19. }
  20.  
  21. void loop() {
  22. }
  23.  
  24. // Binary sketch size: 5692 bytes (of a 32256 byte maximum)
clone this paste RAW Paste Data