mbed blinky for LPCXpresso1769 (OM13085)

Dependencies:   mbed-dev-lpcx1769

mbed blinky program for LPCXpresso1769 (OM13085)

  • Core clock is 120MHz
  • Fixed LEDx definitions
Committer:
MACRUM
Date:
Mon Sep 19 14:22:47 2016 +0000
Revision:
1:d36d8f212c2f
Parent:
0:41907a55c079
Update libraries

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MACRUM 0:41907a55c079 1 #include "mbed.h"
MACRUM 0:41907a55c079 2
MACRUM 0:41907a55c079 3 DigitalOut myled(LED1, 1);
MACRUM 0:41907a55c079 4 Serial pc(USBTX, USBRX);
MACRUM 0:41907a55c079 5
MACRUM 0:41907a55c079 6 int main()
MACRUM 0:41907a55c079 7 {
MACRUM 0:41907a55c079 8 pc.printf("Hello, LPCXpresso1769\n");
MACRUM 0:41907a55c079 9 pc.printf("SystemCoreClock = %d\n", SystemCoreClock);
MACRUM 0:41907a55c079 10
MACRUM 0:41907a55c079 11 while(1) {
MACRUM 0:41907a55c079 12 myled = !myled;
MACRUM 0:41907a55c079 13 wait(0.2);
MACRUM 0:41907a55c079 14 }
MACRUM 0:41907a55c079 15 }