pkourany / PulseSensor_Spark

Pulse Sensor library v1.4 ported for Particle Core and Photon
Other
3 stars 18 forks source link

'SysInterrupt_TIM3_Update' was not declared in this scope #1

Closed yaneexy closed 7 years ago

yaneexy commented 8 years ago

Veryfing code using this library in Particle Build fails with this error:

PulseSensor_Spark/SparkIntervalTimer.h:128:30: error: 'SysInterrupt_TIM3_Update' was not declared in this scope
   if (!attachSystemInterrupt(SysInterrupt_TIM3_Update, Wiring_TIM3_Interrupt_Handler_override)) 
pkourany commented 7 years ago

@yaneexy, the SparkIntervalTimer code is slightly outdated. I will remove it from the library and require that the (newer) IDE library be attached to the app. That way it will always be up to date. I'll publish an updated PulseSensor library to the IDE shortly. Thanks for pointing this out.

pkourany commented 7 years ago

The updated Build library is now available!