Wierd pointer construct

You should really get a C/C++ Book and learn your language, before you start programming. -> is the dereferencing operator for Pointers. When you have a pointer gpspointer the expression (*gpspointer) returns the object gpspointer points to. (*gpspointer).begin(baud) is the same as gpspointer->begin(baud). It just increases readability. Your code will recurse only if gpspointer=this.

Arduino heart rate sensor with buzzer [closed]

If you’re just looking for somewhere to start then I’d suggest with just getting the buzzer to go off at least once. After that, make another project file and start trying to read input from the sensor. To do this you’re going to need to google a few things, like how the sensor sends data. … Read more