아두이노 심박수 센서 코드
- 최초 등록일
- 2023.12.25
- 최종 저작일
- 2022.06
- 7페이지/ 한컴오피스
- 가격 1,000원
* 본 문서(hwp)가 작성된 한글 프로그램 버전보다 낮은 한글 프로그램에서 열람할 경우 문서가 올바르게 표시되지 않을 수 있습니다.
이 경우에는 최신패치가 되어 있는 2010 이상 버전이나 한글뷰어에서 확인해 주시기 바랍니다.
소개글
아두이노 심박수 센서 코드입니다
목차
없음
본문내용
//super_densor
#include <PulseSensorPlayground.h>
const int PIN_INPUT = A0; // Pulse Sensor PURPLE WIRE connected to ANALOG PIN 0
const int LED=13;
int THRESHOLD = 550;
void setup()
{
Serial.begin(115200); // Set's up Serial Communication at certain speed.
pulseSensor.analogInput(PIN_INPUT);
pulseSensor.setThreshold(THRESHOLD);
pulseSensor.blinkOnPulse(PIN_BLINK);
참고 자료
없음