Skip to content

Commit 142bdea

Browse files
committed
Minor update
Bring all example baud rates to 115200 Minor change in example code
1 parent 61632e8 commit 142bdea

File tree

4 files changed

+5
-35
lines changed

4 files changed

+5
-35
lines changed

Version 2.0 Beta Read Me.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/GettingStartedProject/GettingStartedProject.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int Threshold = 580; // Determine which Signal to "count as a beat", and w
3232
// The SetUp Function:
3333
void setup() {
3434
pinMode(LED,OUTPUT); // pin that will blink to your heartbeat!
35-
Serial.begin(9600); // Set's up Serial Communication at certain speed.
35+
Serial.begin(115200); // Set's up Serial Communication at certain speed.
3636

3737
}
3838

@@ -42,7 +42,7 @@ void loop() {
4242
Signal = analogRead(PulseSensorPurplePin); // Read the PulseSensor's value.
4343
// Assign this value to the "Signal" variable.
4444

45-
Serial.println(Signal); // Send the Signal value to Serial Plotter.
45+
Serial.println("Signal " + String(Signal)); // Send "reading " followed by the Signal value to Serial Plotter.
4646

4747

4848
if(Signal > Threshold){ // If the signal is above "550", then "turn-on" Arduino's on-Board LED.
@@ -52,7 +52,7 @@ void loop() {
5252
}
5353

5454

55-
delay(10);
55+
delay(20);
5656

5757

5858
}

examples/Getting_BPM_to_Monitor/Getting_BPM_to_Monitor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PulseSensorPlayground pulseSensor; // Creates an instance of the PulseSensorPla
2323

2424
void setup() {
2525

26-
Serial.begin(9600); // For Serial Monitor
26+
Serial.begin(115200); // For Serial Monitor
2727

2828
// Configure the PulseSensor object, by assigning our variables to it.
2929
pulseSensor.analogInput(PulseWire);

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=PulseSensor Playground
2-
version=2.0.0
2+
version=2.0.1
33
author=Joel Murphy, Yury Gitman, Brad Needham
44
maintainer=Joel Murphy, Yury Gitman
55
sentence=Support at PulseSensor.com

0 commit comments

Comments
 (0)