ADS1292R ECG/RESPIRATION SHIELD Error Help

Hi-
i am trying to get this “ADS1292R ECG/RESPIRATION SHIELD FOR ARDUINO- V2” to work but i am currently getting this error message. im not sure what to change as i was given the code. I attached the three files necessary for the program to upload and the info can be found in the link above.

Thanks
Chaim

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Read_Data()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch/ads1292r.cpp:25: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Reset()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Disable_Start()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Enable_Start()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Hard_Stop()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_SPI_Command_Data(unsigned char)'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Start_Data_Conv_Command()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Soft_Stop()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Start_Read_Data_Continuous()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Stop_Read_Data_Continuous()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Reg_Write(unsigned char, unsigned char)'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\libraries\Protocentral_ADS1292R\ads1292r.cpp.o: In function `ads1292r::ads1292_Read_Data()':

C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R/ads1292r.cpp:25: multiple definition of `ads1292r::ads1292_Init()'

C:\Users\Chaim\AppData\Local\Temp\build8b129a7b0a9a8c8d5247f982f94b94bd.tmp\sketch\ads1292r.cpp.o:C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI/SPI.h:209: first defined here

collect2.exe: error: ld returned 1 exit status

Using library Protocentral_ADS1292R in folder: C:\Program Files (x86)\Arduino\libraries\Protocentral_ADS1292R (legacy)
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI 
exit status 1
Error compiling.

ads1292r.cpp (5.46 KB)

ads1292r.h (3.07 KB)

ECG-Respiration-Plot.ino (4.03 KB)

Do this:

  • Sketch > Show Sketch folder
  • Delete ads1292r.cpp and ads1292r.h
  • Close and then reopen ECG-Respiration-Plot.ino