Skip to content

Commit 577a561

Browse files
author
Elias Santistevan
committed
Fixes example 3 which had various typos and a missed call to the class
instance.
1 parent ba408bb commit 577a561

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/Example3_modify_AGC_Algo/Example3_modify_AGC_Algo.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,24 +83,24 @@ void setup(){
8383
}
8484

8585
// Let's read back what we set....
86-
int algoVal = bioHub.readAlgoRange());
86+
int algoVal = bioHub.readAlgoRange();
8787
Serial.print("Algorithm set to: ");
8888
Serial.println(algoVal);
8989

90-
int stepVal = bioHub.readAlgoStepSize());
90+
int stepVal = bioHub.readAlgoStepSize();
9191
Serial.print("Algorithm set to: ");
9292
Serial.println(stepVal);
9393

94-
int senVal = bioHub.readAlgoSensitivity());
94+
int senVal = bioHub.readAlgoSensitivity();
9595
Serial.print("Algorithm set to: ");
9696
Serial.println(senVal);
9797

98-
int sampVal = bioHub.readAlgoSamples());
98+
int sampVal = bioHub.readAlgoSamples();
9999
Serial.print("Algorithm set to: ");
100100
Serial.println(sampVal);
101101

102102
Serial.println("Configuing Sensor.");
103-
error = configBpm(MODE_ONE);
103+
error = bioHub.configBpm(MODE_ONE);
104104
if (error > 0){
105105
Serial.println("Could not configure the sensor.");
106106
}

0 commit comments

Comments
 (0)