Skip to content

Commit

Permalink
changes to println
Browse files Browse the repository at this point in the history
  • Loading branch information
suvarna84 committed Dec 27, 2024
1 parent a39085f commit 4c321a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ void loop()
{
if(ecgRespirationValues.leadoffDetected == true) // lead in not connected
{
Serial.println("ECG lead error!!! ensure the leads are properly connected");
Serial.println(F("ECG lead error!!! ensure the leads are properly connected"));
}else{

Serial.print("Heart rate: ");
Serial.print(F("Heart rate: "));
Serial.print(globalHeartRate);
Serial.println("BPM");
Serial.print("Respiration Rate :");
Serial.println(F("BPM"));
Serial.print(F("Respiration Rate :"));
Serial.println(globalRespirationRate);
}
timeElapsed += 1000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void setup()
delay(2000);

SPI.begin();
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE1));
SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE1));

pinMode(ADS1292_DRDY_PIN, INPUT);
pinMode(ADS1292_CS_PIN, OUTPUT);
Expand Down

0 comments on commit 4c321a0

Please # to comment.