Skip to content

changing frequency #2

Closed
Closed
@michaelproino

Description

@michaelproino

Hi,
Although I try to change frequency with; (changing frequency=20 Hz and keep it constant)

static float frequency = 20.0;
unsigned long freqReg = gen.freqCalc(frequency);
gen.adjustFreq(MiniGen::FREQ0, freqReg);
delay(100);

My Minigen's output still 150kHz,
Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions