• Earle F. Philhower, III's avatar
    Allow continuous tone frequency changes (#186) · c65c4bfb
    Earle F. Philhower, III authored
    Fixes #121
    Supersedes #185
    
    Redo the PIO program to allow the tone generator on a pin to be updated
    without interruption, at waveform boundaries.  This allows for things like
    sirens or slurs to be implemented simply.
    
    Use an alarm, not the PIO hardware, to manage time-limited tones().
    
    Add a simple siren example.
    c65c4bfb
tone2.pio.h 1.45 KB