WorldFamousElectronics / PulseSensorStarterProject

The Best Way to Get Started with your PulseSensor and Arduino
http://www.pulsesensor.com
52 stars 36 forks source link

The body of the message says all, this code is not compatible with LOLIN(WEMOS)D1 mini pro #17

Closed zenith85 closed 12 months ago

zenith85 commented 2 years ago

c:/users/ibrah/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\PulseSensor_Playground\PulseSensorPlayground.cpp.o: in function _ZN21PulseSensorPlaygroundC2Ei': C:\Users\ibrah\Documents\Arduino\libraries\PulseSensor_Playground\src/PulseSensorPlayground.cpp:28: undefined reference to_ZN21PulseSensorPlayground15UsingInterruptsE' c:/users/ibrah/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\ibrah\Documents\Arduino\libraries\PulseSensor_Playground\src/PulseSensorPlayground.cpp:34: undefined reference to _Z35PulseSensorPlaygroundSetupInterruptv' c:/users/ibrah/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\PulseSensor_Playground\PulseSensorPlayground.cpp.o: in function_ZN21PulseSensorPlayground5beginEv': C:\Users\ibrah\Documents\Arduino\libraries\PulseSensor_Playground\src/PulseSensorPlayground.cpp:56: undefined reference to `_Z35PulseSensorPlaygroundSetupInterruptv' collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board LOLIN(WEMOS) D1 mini Pro.

biomurph commented 2 years ago

@zenith85 It looks like you are using a board that is based on the ESP8266. Please try to use the PulseSensor Playground example called BPM_Alternative.ino Let me know if that will work.

biomurph commented 12 months ago

Our current library works with ESP32 based boards.