Skip to content

src/corelibs/analogio: Test for SetAnalogfrequency function. #59

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

Merged
merged 2 commits into from
Aug 6, 2025

Conversation

IFX-Anusha
Copy link
Contributor

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

set_fz

*/
TEST_IFX(analogio_pwm, test_analog_set_fz)
{
analogWriteResolution(16); // Set resolution to 16 bits
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the comment of the func implementation, shall we have a test where we set the frequency before calling analogWrite()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Member

@jaenrig-ifx jaenrig-ifx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@IFX-Anusha IFX-Anusha force-pushed the test_analog_set_fz branch from 051a259 to 80aac69 Compare July 24, 2025 07:32
Copy link
Collaborator

@ramya-subramanyam ramya-subramanyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@IFX-Anusha IFX-Anusha merged commit fb0470e into main Aug 6, 2025
@IFX-Anusha IFX-Anusha deleted the test_analog_set_fz branch August 6, 2025 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants