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

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

#include <PicoTone.h>

Public Member Functions

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

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.

Author
Phil Schatzmann

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