Hi, I used the code that was in the code section of the project, However it tells me tha TCCR1A is not declared.
I assume this is because im using the node mcu
Can someone tell me how to rectify this?
Hi, I used the code that was in the code section of the project, However it tells me tha TCCR1A is not declared.
TCCR1A is a definition reserved for ATMEGA based boards (and the NodeMCU isn’t).
Try the code from here:
And connect like this:
NodeMCU_______Sensor
3.3V____________ +
GND____________-
A0 _____________S
Good luck!
what about the code that we can use it to programm the carte .I work with esp32 , I found problems with pulse sensor . do you have any idia about the code ? thank you .