EEPROM READER not working

I am trying to read the data on the “harddrive” but the serial monito does not give any data out.

could you please help me fix it?

#include <EEPROM.h>
#include <stdio.h>

void setup(void)

int main(void){
int a;
int value;

value =;


Have you deliberately created a main() function to circumvent the normal Arduino environment ? Apart from anything else, the way that you have written it the setup() function will never be called and the hardware will not be initialised.

My teacher and i tried some difrent things, but we got it to work by making an endless waiting time instead of getting it to stop when it was done

What the?

If you don't fully understand it you (and your teacher) should just stick with setup() and loop() and don't mess around with main()!