We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf27011 commit 04bec92Copy full SHA for 04bec92
1 file changed
eeprom_edit.ino
@@ -26,7 +26,7 @@ void loop()
26
}
27
28
//Prompt the user for an address on the EEPROM to read from, and the amount of bytes to read from there.
29
-void EEPROM_I2C_read(byte I2C_ADDRESS)
+void EEPROM_I2C_read(char I2C_ADDRESS)
30
{
31
Serial.println("Enter EEPROM address (decimal) to read from:");
32
while(!Serial.available());
@@ -85,7 +85,7 @@ void EEPROM_I2C_read(byte I2C_ADDRESS)
85
Serial.println("Received less than target amount of bytes!");
86
87
88
-void EEPROM_I2C_write(byte I2C_ADDRESS)
+void EEPROM_I2C_write(char I2C_ADDRESS)
89
90
//Constant for the number of tries. With 10 you're fine, I never had 10 write failures in succession.
91
const char NUM_TRIES = 10;
0 commit comments