Pulse Width Modulation

Dependencies:   mbed

/ 03_pwm_music

  • This program plays the Oranges and Lemons music
  • on a piezo buzzer tied between D3 (PTA12) pin and GND
  • Hardware requirements:
  • - FRDM-KL25Z board
  • - Piezo buzzer tied between D3 (PTA12) pin and GND
  • Note: The + pin of the buzzer connects to D3, of course...
  • This is an example program borrowed from the
  • Pulse Width Modulation section of ARM mbed Course Material
  • Authors: Rob Toulson and Tim Wilmshurst
  • Link: https://developer.mbed.org/cookbook/Course-Notes
  • /
Download repository: zip gz

Files at revision 0:7d30529dcdc6

Name Size Actions
[up]
main.cpp 985 Revisions Annotate
mbed.bld 65 Revisions Annotate