Skip to content

Commit ffa4215

Browse files
committed
Fix issue 14 - change sampleRate to int in example
1 parent c5fc13c commit ffa4215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Example4_HeartBeat_Plotter/Example4_HeartBeat_Plotter.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup()
5151
byte ledBrightness = 0x1F; //Options: 0=Off to 255=50mA
5252
byte sampleAverage = 8; //Options: 1, 2, 4, 8, 16, 32
5353
byte ledMode = 3; //Options: 1 = Red only, 2 = Red + IR, 3 = Red + IR + Green
54-
byte sampleRate = 100; //Options: 50, 100, 200, 400, 800, 1000, 1600, 3200
54+
int sampleRate = 100; //Options: 50, 100, 200, 400, 800, 1000, 1600, 3200
5555
int pulseWidth = 411; //Options: 69, 118, 215, 411
5656
int adcRange = 4096; //Options: 2048, 4096, 8192, 16384
5757

0 commit comments

Comments
 (0)