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.
13 years, 1 month ago.
online-compiling doesn't work anymore
Hi guys. Since I've noticed the new website (today) I am not able to compile the code I wrote anymore...it worked last week.
Even when I try example code like DigitalIn it won't let me compile because of an error error :
Code:
DigitalIn Handbook-example code
#include "mbed.h"
DigitalIn enable(p5);
DigitalOut led(LED1);
int main() {
while(1) {
if(enable) {
led = !led;
}
wait(0.25);
}
}
Error:" identifier p5 is undefined"
The code I am working at working at won't compile because of the following error:
"cannot open source input file "device.h": No such file or directory"
Hope you guys can help me out....I need to continue working on this project :/
1 Answer
13 years, 1 month ago.
Have a look at: http://mbed.org/cookbook/Compiler-Error-5