Use nodemcu to send data from pulse sensor

0

I am trying to send the collected data from a pulse sensor PulseSensor , but the code is addressed to the Arduino board and not to the NodeMCU board, this example Example NodeMCU (in this case I would use Firebase ) did not work either, since there is an error when compiling in:

interruptSetup(); // sets up to read Pulse Sensor signal every 2mS

As I saw it is for the same reason the code is for Arduino and not for MCU, they could indicate me an alternative for this problem.

    
asked by Jose Saracho 20.02.2017 в 14:43
source

1 answer

1

Solution: Change the interrupt.or of the original sensor project link for the interruption of this project link , as it would be because the arduino if it works with timers but nodemcu no.

    
answered by 24.02.2017 / 15:14
source