Skip to content

Releases: edautz/arduino-esp32

2.0.2: Implement SigmaDelta based on ESP-IDF API (#6053)

22 Jan 06:58
caef400
Compare
Choose a tag to compare
Summary

This PR is refactoring of SigmaDelta HAL in order to use IDF instead of current Register manipulation approach.

Impact

Change in API:

uint32_t sigmaDeltaSetup(uint8_t channel, uint32_t freq);
changed to -->
uint32_t sigmaDeltaSetup(uint8_t pin, uint8_t channel, uint32_t freq);

void sigmaDeltaAttachPin(uint8_t pin); removed, no longer needed. Pin is attached in sigmaDeltaSetup()