Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.23 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.23 KB

Ardunic_BloodPressure

Arduino library for the Ardunic Blood Pressure Device. This library is very simple and intuitive to use.

For example, we can get the systolic blood pressure, diastolic blood pressure, & Heart rate with just a few lines of code:

#include <Ardunic_BloodPressure.h>
BloodPressure info(8, 7);

void setup(){
Serial.begin(9600);
}

void loop(){
info.update();
Serial.print("SYS = " + String(info.GetSYS()));
Serial.print(" DIA = " + String(info.GetDIA()));
Serial.println(" HR = " + String(info.GetHR()));
delay(1000);
}

See the included examples for more.

Installation

This library uses the SerialTransfer library "This library was tested on SerialTransfer library Version 3.1.2", so you will need to have this installed. Install it using the Library Manager in the Arduino IDE.

Wiring the Ardunic Blood Pressure device

For wiring the Ardunic Blood Pressure device you need to use a serial port ( Hardware or software ) UART serial port, then follow as below.

image