Posts: 411
Joined: Sat Nov 30, 2013 5:27 pm

Unit of data and time

Wed Mar 02, 2016 4:15 am

this project processing happens in the background via Timer 2 interrupt. 2mS sample rate.

1)600 micro seconds? or miliseconds.

volatile int IBI = 600; // holds the time between beats, the Inter-Beat Interval

2)512mV? I assumed
volatile int P =512; // used to find peak in pulse wave

User avatar
Posts: 2698
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: Unit of data and time

Wed Mar 02, 2016 11:44 am

lilzz, you really need to provide some context to your questions. How is anybody supposed to know what a random line of code refers to? Without seeing how it's used or knowing where it comes from it could be anything.
Two possibilities are that there are 600 beats per 2ms sample, or 600 2ms samples per beat, or a plethora of other uses.

Same goes with P=512, except there's even less information on what it refers to, 512 Pterodactyls?
She who travels light — forgot something.

Return to “C/C++”