When I comment the code oled then it shows values for BPM and vice versa if commented BPM code then oled code works I don't know how to solve this issue. Also I am new to Arduino, Your help will be really appreciatable. Thank You!
I assume that you have written the programme by yourself, then it is quite easy to find the error.
There's a trick to figuring out why something isn't working:
Use a logic analyzer to see what happens.
Put Serial.print statements at various places in the code as diagnostic prints to see the values of variables, especially ones that control the motors, and determine whether they meet your expectations.
Your two or more topics on the same or similar subject have been merged.
Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.
Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.
Repeated duplicate posting could result in a temporary or permanent ban from the forum.
Could you take a few moments to Learn How To Use The Forum
It will help you get the best out of the forum in the future.
There is a reason why 99% of all published papers are not worth the paper they are printed on. e.g.: the paper you linked does not give any reason why that would work. No physics. Just believe. We called that "fund raising".