int pulsePin = 34; // ADC pin
void setup() {
Serial.begin(115200);
pinMode(pulsePin, INPUT);
}
void loop() {
int rawValue = analogRead(pulsePin);
Serial.println(rawValue);
delay(2000); // small delay so the graph is readable
}
int pulsePin = 34; // ADC pin
void setup() {
Serial.begin(115200);
pinMode(pulsePin, INPUT);
}
void loop() {
int rawValue = analogRead(pulsePin);
Serial.println(rawValue);
delay(2000); // small delay so the graph is readable
}