11 years, 8 months ago.

Problem with compiling PWM in LPCXpresso

We're getting a run time error anytime when trying to run code that includes PwmOut via the LPCxpresso compiler - it works fine through mBed compiler though. An image of the error is below.

This is the simple program that evokes this error. Again, anything with PwmOut causes it in LPCxpresso.

#include mbed.h
PwmOut pwm(p26);

int main() {
   pwm=0.5;
}

Any ideas?

/media/uploads/ece477team6/error.png

UPDATE TO ORIGINAL QUESTION We used the mbed SDK instead of the binary build library and think we were able to pinpoint the problem. The following image should be helpful:

/media/uploads/ece477team6/sdk.png

Question relating to:

Sorry I guess I asked this in wrong section. I moved it to code red part.

posted by big boss 26 Mar 2013
Be the first to answer this question.