Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
note_t Struct Reference

Represents a single musical note with a frequency and duration. More...

#include <buzzer.h>

Data Fields

uint16_t frequency
 The frequency of the note in Hertz (Hz). Use REST for silence.
 
uint16_t duration_ms
 The duration to play the note in milliseconds (ms).
 

Detailed Description

Represents a single musical note with a frequency and duration.

Definition at line 31 of file buzzer.h.

Field Documentation

◆ duration_ms

uint16_t note_t::duration_ms

The duration to play the note in milliseconds (ms).

Definition at line 33 of file buzzer.h.

Referenced by musica_maestro().

◆ frequency

uint16_t note_t::frequency

The frequency of the note in Hertz (Hz). Use REST for silence.

Definition at line 32 of file buzzer.h.

Referenced by musica_maestro().


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