This program outputs a 50Hz complimentary Sinusoidal PWM signal on PA8 and PB13 on the STM32 Nucleo F103 board. The switching speed is 10kHz. The program uses a mix of mbed functions and/ direct register writes. It makes use of a lookup table generated in Octave (Thanks Richard Hayes) and interrupts to update the duty cycle.

Dependencies:   mbed

Revisions of mbed.bld

Revision Date Message Actions
0:d2382fd0cc1a 2015-12-07 First commit File  Diff  Annotate