Question on https://github.com/lahirunirmalx/spi-eeprom-tool

SPI-eeprom-example.pdf (116.9 KB)

Please don't put a question in a PDF. Post images and text in a post.
You can post screenshots by pasting them in a reply and drag images in a reply.

See https://forum.arduino.cc/t/a-thread-with-tips-and-tricks-for-the-new-discourse-based-arduino-forum/849827/3

I didn't look too deeply at it but I succeeded in getting it to compile.

  1. create a folder called main.
  2. copy main.cpp from the repository into it the folder created in 1. above and rename it main.ino
  3. copy main.h into the folder as well
  4. click on the file main.ino and the Arduino IDE should open
  5. Select board type ESP32 Dev Module (or whatever target you are using)
  6. try verify in the IDE

Great. All compiled now. I wasn't sure how to deal with the absence of a .ino file but your instructions were very clear.

Thank you.

You can mark post #3 as solution by clicking the little checkbox under that post

image

That way others know that a solution was provided.