9 years, 11 months ago.

Problem with mbed NXP LPC1768 digital outputs

My mbed NXP LPC1768 seems to be broken, all pinss are reading 2.22V and when i try and set an output to 0V it still reads 2.22V.

Has anyone else had this problem and how did you solve it?

Question relating to:

2 Answers

9 years, 11 months ago.

Can you flash one of the LEDs? If yes, you are probably measuring wrong. If no then you are probably coding wrong ;)

9 years, 11 months ago.

Did you try the HelloWorld example? It looks like your pio is set at an input with PullUp. Just a couple of changes to the HelloWorld code will produce the code below. Connect your multimeter or an LED and resistor to p20.

#include "mbed.h"

DigitalOut myled(p20);

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

I tried the code but still reading 2.22V. The led's on the mbed don't work either. I think some components have failed.

posted by Anth Hunter 09 Dec 2014