Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
Bring all example baud rates to 115200
Minor change in example code
  • Loading branch information
biomurph committed Jan 19, 2024
1 parent 61632e8 commit 142bdea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 35 deletions.
30 changes: 0 additions & 30 deletions Version 2.0 Beta Read Me.md

This file was deleted.

6 changes: 3 additions & 3 deletions examples/GettingStartedProject/GettingStartedProject.ino
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ int Threshold = 580; // Determine which Signal to "count as a beat", and w
// The SetUp Function:
void setup() {
pinMode(LED,OUTPUT); // pin that will blink to your heartbeat!
Serial.begin(9600); // Set's up Serial Communication at certain speed.
Serial.begin(115200); // Set's up Serial Communication at certain speed.

}

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

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


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


delay(10);
delay(20);


}
2 changes: 1 addition & 1 deletion examples/Getting_BPM_to_Monitor/Getting_BPM_to_Monitor.ino
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PulseSensorPlayground pulseSensor; // Creates an instance of the PulseSensorPla

void setup() {

Serial.begin(9600); // For Serial Monitor
Serial.begin(115200); // For Serial Monitor

// Configure the PulseSensor object, by assigning our variables to it.
pulseSensor.analogInput(PulseWire);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=PulseSensor Playground
version=2.0.0
version=2.0.1
author=Joel Murphy, Yury Gitman, Brad Needham
maintainer=Joel Murphy, Yury Gitman
sentence=Support at PulseSensor.com
Expand Down

0 comments on commit 142bdea

Please sign in to comment.