/** 03_pwm_led * This program controls the duty cycle of * a PWM output connected to LED1 (LED_RED) * through the serial connection. * * Valid commands: '1', '5', '9' * Corresponding duty cycle: 10%, 50%, 90% * Period: 2000 ms * * Hardware requirements: * - FRDM-KL25Z board */

Dependencies:   mbed

/ 03_pwm_led

  • This program controls the duty cycle of
  • a PWM output connected to LED1 (LED_RED)
  • through the serial connection.
  • Valid commands: '1', '5', '9'
  • Corresponding duty cycle: 10%, 50%, 90%
  • Period: 2000 ms
  • Hardware requirements:
  • - FRDM-KL25Z board
  • /
Download repository: zip gz

Files at revision 0:68ad188ca8c4

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