Forum: µC & Digital Electronics GPIO Ports on Keil MCB1800 with LPC1857

von andreas_mue (Guest)

Rate this post
0 useful
not useful
I try to set an GPIO Port ( P1_15 ) to high, but it does not work. I 
used the MCB1800 Board with an LPC1857 and modified the Blinky Example.

Somebody has an idea?

#include "board.h"
#include <stdio.h>
#include "stopwatch.h"

void SysTick_Handler(void)
  static int x = 0;
  if (x++ > 500) {
    x = 0;


int main(void)

        Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 1, 15);
        Chip_GPIO_SetPinOutHigh (LPC_GPIO_PORT, 1, 15);

  /* Enable and setup SysTick Timer at a periodic rate */
  SysTick_Config(SystemCoreClock / TICKRATE_HZ1);

  while (1) {

  return 0;



Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.