-
-
Couldn't load subscription status.
- Fork 40
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Current implementation of mA_AC_sampling() takes ~20 ms per call (50 Hz assumed) as it samples a whole period.
If the wave is symmetric (fair assumption for AC) code could sample half the period and double that value.
Should reduce the duration to ~10 ms (50 Hz).
For 60 Hz it would save about ~8.4 ms.
As the sampling period is shorter, there is more time for other tasks.
Might also work for some other AC functions.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request