Compiling error "does not a type.."

Submitted by Kim Bum on Wed, 01/02/2019 - 04:04

i have to xompile the code but it was failed, what is the solution. i done to added the library thanks

sketch_jan02b:5: error: 'PulseSensorPlayground' does not name a type
sketch_jan02b.ino: In function 'void setup()':
sketch_jan02b:33: error: 'pulseSensor' was not declared in this scope
sketch_jan02b.ino: In function 'void getReadings()':
sketch_jan02b:133: error: 'pulseSensor' was not declared in this scope

I am not sure whih program you are talking about. But I think the prolem is beacuse you have not added the pulse sensor librarey to your arduino IDE

  Joined September 07, 2017      256
Thursday at 12:15 PM