Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pulse Waveform #10

Open
bpk323 opened this issue Oct 26, 2019 · 2 comments
Open

Pulse Waveform #10

bpk323 opened this issue Oct 26, 2019 · 2 comments

Comments

@bpk323
Copy link

bpk323 commented Oct 26, 2019

Hello,

I am using this shield as part of a larger device and I am relatively inexperienced with Arduino. I have somewhat of an understanding of the code, however, I was wondering if you could provide some guidance for the extraction of the raw pulse waveforms? I am trying to graph the waveform along with waveforms from two other probes (one ear PPG and one ECG). Any help is much appreciated! Thanks!

@joicetm
Copy link

joicetm commented Oct 28, 2019

Hello,
please have look at line 221,

      IRtemp = (unsigned long) (IRtemp<<10);
      seegtemp = (signed long) (IRtemp);
      seegtemp = (signed long) (seegtemp>>10);  
         
      REDtemp = (unsigned long) (REDtemp<<10);
      seegtemp2 = (signed long) (REDtemp);
      seegtemp2 = (signed long) (seegtemp2>>10);

here we are storing raw values of IR and RED to these variables.

@bpk323
Copy link
Author

bpk323 commented Oct 29, 2019

Great, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants