Advertisement
dumle29

Untitled

Mar 3rd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. // Pseudo-code for dumping a website to eeprom
  2.  
  3. void setup()
  4. {
  5.   // Setup stuff
  6.   int address = 0;
  7.   while(webpage.available()) // While there's still bytes not read from the website
  8.   {
  9.     EEPROM.update(address, webpage.read()) // Store byte in EEPROM
  10.     address++;
  11.   }
  12. }
  13.  
  14. void loop()
  15. {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement