This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

output led high in lpc1788

I use the following codes to output high in Port 0_15 but no success ,can someone help me ?

#include "LPC177x_8x.h"

int main(void) { LPC_IOCON->P0_15 = 0; LPC_GPIO0->DIR |= 0x00008000; LPC_GPIO0->SET = 0x00008000; while (1);
}

0