Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
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?
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:
Sorry I guess I asked this in wrong section. I moved it to code red part.
posted by big boss 26 Mar 2013