Andreas Garmannslund / Mbed 2 deprecated SimplePlatformGame

Dependencies:   N5110 PinDetect PowerControl mbed

Embed: (wiki syntax)

« Back to documentation index

Sound Class Reference

Sound Class Reference

Sound uses a piezo buzzer connect to a PWMOut to output sound. More...

#include <Sound.h>

Public Member Functions

 ~Sound ()
 Destructor.
void playNote (Note &note)
 Plays the given note.

Detailed Description

Sound uses a piezo buzzer connect to a PWMOut to output sound.

Definition at line 18 of file Sound.h.


Constructor & Destructor Documentation

~Sound (  )

Destructor.

Definition at line 10 of file Sound.cpp.


Member Function Documentation

void playNote ( Note note )

Plays the given note.

Parameters:
noteThe note to be played.

Definition at line 15 of file Sound.cpp.