sparkfun / AD8232_Heart_Rate_Monitor

AD8232 Heart Rate Monitor
Other
186 stars 190 forks source link

EKG sheild error question #5

Closed biovet closed 9 years ago

biovet commented 9 years ago

I am new to arduino and have been attempting to use the EKG shield and have uploaded the sketch you have her but keep getting error messages when I attempt to verify. 'serailEvent" declared void What am I missing?

z3t0 commented 9 years ago

It seems they are two different sketches for different systems You definitely want to use this for the Arduino Uno

z3t0 commented 9 years ago

The reason for getting those errors are because that file is not for Arduino (atleast not directly)

z3t0 commented 9 years ago

Also note that an arduino can hold no MORE than one sketch at a time so at no point in time should you ever need to use two sketches for any purpose because it simply doesnt work like that

ToniCorinne commented 9 years ago

Please read the hookup guide here: https://learn.sparkfun.com/tutorials/ad8232-heart-rate-monitor-hookup-guide#uploading-the-sketch-and-connecting-with-processing.

This explains why there are two different sketches. The .pde file is actually for Processing, not Arduino (though the old Arduino IDE did use the same file extension).