pkourany / PulseSensor_Spark

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

'SysInterrupt_TIM2' was not declared in this scope #2

Closed sebastianrmirz closed 7 years ago

sebastianrmirz commented 8 years ago

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

PulseSensor_Spark/SparkIntervalTimer.h:121:30: error: 'SysInterrupt_TIM2' was not declared in this scope
   if (!attachSystemInterrupt(SysInterrupt_TIM2, Wiring_TIM2_Interrupt_Handler_override)) 
nurstcor commented 7 years ago

PulseSensor_Spark/SparkIntervalTimer.h:121:30: error: 'SysInterrupt_TIM2' was not declared in this scope if (!attachSystemInterrupt(SysInterrupt_TIM2, Wiring_TIM2_Interrupt_Handler_override))