|
Abstract: . . . 400Hz sampling frequency } } // END MAIN ROUTINE APPENDIX 6 Javelin Stamp Programming Code import stamp.core.*; import java.io.*; //Most codes were created by previous project, especially heart attack algorithm //Codes created by us are those about receiving digital ECG data, alert level, LEDs and emergency calling, //EB500 public class ReceiverProcessorEB500 { // SAMPLING FREQUENCY DEPENDENT CONSTANTS /* OFFSET adaptibility: 1) Ath must be relative to baseline 2) Wth must be relative to baseline . . . . . . sampling frequency } } // END MAIN ROUTINE APPENDIX 6 Javelin Stamp Programming Code import stamp.core.*; import java.io.*; //Most codes were created by previous project, especially heart attack algorithm //Codes created by us are those about receiving digital ECG data, alert level, LEDs and emergency calling, //EB500 public class ReceiverProcessorEB500 { // SAMPLING FREQUENCY DEPENDENT CONSTANTS /* OFFSET adaptibility: 1) Ath must be relative to baseline 2) Wth must be relative to baseline . . . . . . // Amp relative to baseline is key here { // if current sample is lower than 50% of the second peak relative to baseline, AND it breaks the Ath minimum limit found_PR_peak2 = true; // then second peak . . . --3000,3,500,3083,63768
|