I was given a project on a small power system. Basically an Arduino Uno (programmed in C) obtains measurements and outputs them onto a small LCD touchscreen display. The display can also set a couple of parameters (which i am not concerned about).
I am only concerned about the measurements the arduino is obtaining from this FPGA device. I was given this lengthy code, but I need help on understanding how the Arduino actually gets the measurements from the FPGA device. The section which I think is important is the //START Gather data from FPGA & display in Engineering Terms.
I have attached the code, and any help to understand this would be greatly appreciated.
UWA_UI_mega14i.ino (32.7 KB)