I am trying to use a MAX30003 to read heartrate and send it via BLE using the heartrate example
I have the code for reading the MAX30003 (https://os.mbed.com/teams/Maxim-Integrated/code/MAX30003WING_Demo_Debug//file/5087b009105f/main.cpp/)
And the heartrate example is this one (https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-ble-HeartRate/)
My problem is that I don’t really know how to join the 2 codes.
Where am I supposed to put all the MAX30003 SPI code (that is in the main from the max example) in the heartrate example?
Can anyone help? Or has anyone an example of heartrate (or other ble service) ble with a real sensor being updated?
thanks for any help