6 years, 8 months ago.

Default clock speed of LPC 1114

I operated the following program and measured the frequency of LED terminal. The result was a very low frequency of 700 kHz. I thought that the CPU clock was 48 MHz, but are there any mistakes?

  1. include "mbed.h"

DigitalOut myled(LED1);

int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }

Be the first to answer this question.