Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 7 months ago.
PwmOut works on NXP board but not on FRDM-KL25 board
This code runs on an NXP board, but will not run on a Freescale development board.
See discussion: https://mbed.org/questions/903/PwmOUT-not-working/
- include "mbed.h"
- include <PwmOut.h>
PwmOut led(LED1);
int main() {
led.period(1); led.pulsewidth_ms(500);
while(1) {}
}