ArduinoGeneral

Problem with timer 2 for NOD MCU with Heart Rate Monitor Sensor SKU: SEN0213

userHead mohamed.said092 2019-03-26 07:54:06 2683 Views1 Replies
Hi my friends

I will be appreciated if any one could help me for making the following code heart rate which include timer 2

https://www.dfrobot.com/wiki/index.php/ ... mple_Code2

To be compatible with NOD MCU because every time run , ,that message shown

#error MyTimer2 library only works on AVR architecture
Error compiling for board NodeMCU 1.0 (ESP-12E Module).


So, I ask if there is another code for a solution or heart rate is work normal on NODMCU or Timer 2 work on NODMCU .

Thanks alot
2019-03-26 13:45:00 The library for the heart rate sensor is for Arduino, it is not compatible with Node MCU. You need to choose another library or develop your own which is for ESP modules. userHeadPic robert.chen