MCPcopy Create free account
hub / github.com/FastLED/FastLED / ConfigPdm

Class ConfigPdm

src/fl/audio/input.h:70–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68};
69
70struct ConfigPdm {
71 int mPinDin;
72 int mPinClk;
73 int mI2sNum;
74 u16 mSampleRate;
75 bool mInvert = false;
76
77 ConfigPdm(int pin_din, int pin_clk, int i2s_num,
78 u16 sample_rate = AUDIO_DEFAULT_SAMPLE_RATE,
79 bool invert = false) FL_NOEXCEPT : mPinDin(pin_din),
80 mPinClk(pin_clk),
81 mI2sNum(i2s_num),
82 mSampleRate(sample_rate),
83 mInvert(invert) {}
84};
85
86// Teensy Audio Library configuration helpers
87// Note: Teensy uses FIXED hardware pins that cannot be changed in software.

Callers 2

CreateSpm1423PdmMethod · 0.85
CreatePdmMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected