Skip to content

Commit 3d10c06

Browse files
committed
Update example comments and product links
1 parent c915553 commit 3d10c06

File tree

6 files changed

+515
-490
lines changed

6 files changed

+515
-490
lines changed

examples/Example1_BasicReadWrite/Example1_BasicReadWrite.ino

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
License: This code is public domain but you buy me a beer if you use this
77
and we meet someday (Beerware license).
88
Feel like supporting our work? Buy a board from SparkFun!
9-
https://www.sparkfun.com/products/14764
9+
https://www.sparkfun.com/products/18355
1010
1111
This example demonstrates how to read and write various variables to memory.
1212
@@ -48,10 +48,9 @@ void setup()
4848
// 24xx1025 - 1024000 bit / 128000 byte - 2 address byte, 128 byte page
4949
// 24xxM02 - 2097152 bit / 262144 byte - 2 address bytes, 256 byte page
5050

51-
// Valid types: 24xx00, 01, 02, 04, 08, 16, 32, 64, 128, 256, 512, 1025, 2048
52-
// myMem.setMemoryType(16);
51+
// Setting the memory type configures the memory size in bytes, the number of address bytes, and the page size in bytes.
5352

54-
// Default to the Qwiic 24xx512 EEPROM: https://www.sparkfun.com/products/14764
53+
// Default to the Qwiic 24xx512 EEPROM: https://www.sparkfun.com/products/18355
5554
myMem.setMemoryType(512); // Valid types: 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1025, 2048
5655

5756
if (myMem.begin() == false)

examples/Example2_AdvancedI2C/Example2_AdvancedI2C.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
License: This code is public domain but you buy me a beer if you use this
77
and we meet someday (Beerware license).
88
Feel like supporting our work? Buy a board from SparkFun!
9-
https://www.sparkfun.com/products/14764
9+
https://www.sparkfun.com/products/18355
1010
1111
This example demonstrates how to pass a custom EEPROM address and Wire.
1212
@@ -42,7 +42,7 @@ void setup()
4242
// Wire1.setClock(400000); //set I2C communication to 400kHz
4343
Wire1.begin();
4444

45-
// Default to the Qwiic 24xx512 EEPROM: https://www.sparkfun.com/products/14764
45+
// Default to the Qwiic 24xx512 EEPROM: https://www.sparkfun.com/products/18355
4646
myMem.setMemoryType(512); // Valid types: 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1025, 2048
4747

4848
#define EEPROM_ADDRESS 0b1010001 //0b1010(A2 A1 A0): A standard I2C EEPROM with the ADR0 bit set to VCC

examples/Example3_SettingsStruc/Example3_SettingsStruc.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
License: This code is public domain but you buy me a beer if you use this
77
and we meet someday (Beerware license).
88
Feel like supporting our work? Buy a board from SparkFun!
9-
https://www.sparkfun.com/products/14764
9+
https://www.sparkfun.com/products/18355
1010
1111
This example demonstrates how to record various user settings easily to EEPROM.
1212
@@ -50,7 +50,7 @@ void setup()
5050

5151
Wire.begin();
5252

53-
// Default to the Qwiic 24xx512 EEPROM: https://www.sparkfun.com/products/14764
53+
// Default to the Qwiic 24xx512 EEPROM: https://www.sparkfun.com/products/18355
5454
myMem.setMemoryType(512); // Valid types: 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1025, 2048
5555

5656
if (myMem.begin() == false)

0 commit comments

Comments
 (0)