How do you plan to solve it?
/*Paste your code here*/
#include <EEPROM.h>
uint8_t data[16];
uint8_t current_data;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
for(int i=0;i<16;i++){
data[i] = random(0,256);
EEPROM.update(i, data[i]);
}
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println("Address: | Data (hex)");
for(int i=0;i<1024;i+=16){
Serial.print("0x");
Serial.print(i, HEX);
Serial.print(" | ");
for(int j=0;j<16;j++){
current_data = EEPROM.read(i+j);
if(current_data < 0x10){
Serial.print("0");
}
Serial.print(current_data, HEX);
Serial.print(" ");
delay(50);
}
Serial.println();
delay(100);
}
while(1);
}
Add a video of the output (know more)
Add a photo of your hardware showing the output.
Add a Screenshot of the serial terminal showing the output.
