Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support a runtime configurable T_CHIP_VARIANT #157

Open
Makuna opened this issue Feb 1, 2024 · 0 comments
Open

Support a runtime configurable T_CHIP_VARIANT #157

Makuna opened this issue Feb 1, 2024 · 0 comments
Assignees

Comments

@Makuna
Copy link
Owner

Makuna commented Feb 1, 2024

User requested the ability to change chip variant at runtime while maintaining a single class type.

typedef DFMiniMp3<HardwareSerial, Mp3Notify, Mp3ChipDynamic> DfMp3; 


Mp3ChipDynamic::setChip(DfMp3_Chip_Original);

or

DfMp3 myMp3();

myMp3.setChip(DfMp3_Chip_Original); // internally calls static Mp3ChipDynamic::setChip

or passed in begin?

@Makuna Makuna self-assigned this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant