Skip to content
RED SAG Skills
hardStudy question · answer published in Embedded C interview questions, so no pointsembedded-cundefined-behaviour

Converting 300.0 to a byte

A PWM duty is computed as a float that can reach 300.0, then stored with (uint8_t)duty. What does C say?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions