9 years, 2 months ago.

offset of PWM

hello im trying to generate a pwm signal without negative part,so i want to generate a pwm with offset,what are the instruction responsable of offset

PwmOut PWM1(p21); PWM1.period(0.00000125); PWM1=0.5;

Question relating to:

Rapid Prototyping for general microcontroller applications, Ethernet, USB and 32-bit ARM® Cortex™-M3 based designs

1 Answer

9 years, 2 months ago.

The PWM output is a digital signal that toggles between 0V and 3.3V. It has no negative part and no offset.

Accepted Answer