arduino code question?

so i want to input this code:

{

{

int pulseState = digitalRead(BPM);

if (BPM > 100)

digitalWrite(4, HIGH);

delay(1000);

digitalWrite(4, LOW);

delay(1000);

}

{

if( BPM < 100)

digitalWrite(4, LOW);

}

}

to this code:

https://code.google.com/p/pulse-sensor/downloads/d...

but it doesnt seem to work. what is the problem with it?

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 Q2A.ES - All rights reserved.