Pico-Arduino
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
PicoTone Class Reference

We use the TimerAlarmRepeating to generate tones. More...

#include <PicoTone.h>

Public Member Functions

void tone (uint8_t pinNumber, unsigned int frequency)
 
void noTone ()
 
bool operator== (const PicoTone &other)
 
bool operator!= (const PicoTone &other)
 

Static Public Member Functions

static bool generate_sound_callback (repeating_timer_t *rt)
 

Public Attributes

int pin
 
bool state
 

Protected Attributes

TimerAlarmRepeating alarm
 

Detailed Description

We use the TimerAlarmRepeating to generate tones.


The documentation for this class was generated from the following file: