How to use methods

Help a noob time. I'm working with a tap temp library and I don't understand how to use some of the things I'm reading in the documentation.

When it mentions a method like:

void setTotalTapValues(int total);

How do I call that in my sketch?

Hi topperT

when you create an ArduinoTapTempo object in your code

// include the ArduinoTapTempo library
#include <ArduinoTapTempo.h>

// make an ArduinoTapTempo object
ArduinoTapTempo tapTempo;

// for this example, The current chain of taps will finish this many beats after the most recent tap
int totalTaps;

void setup() {

....

The object has a bunch of methods (functions) associated with it.
to access that particular method, you use the name you gave to the object tapTempo followed by a fullstop (.) then the name of the method, plus any parameters.

In the case of the example you showed,

tapTempo.setTotalTapValues(totalTaps)