The latest version of the mbed library (rev 20) seems to break the DigitalIn mode function.
In Version 19 this code worked:
#include "mbed.h"
DigitalOut myled(LED1);
DigitalIn myInput(p21);
int main() {
myInput.mode(PullDown);
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}
In version 20 the following error is reported by the compiler:
" Undefined symbol mbed::DigitalIn::mode(PinMode) (referred from main.cpp.cpp.LPC1768.o). (EL6218E)" in file "/"
Please help. I make extensive use of DigitalIn in all of my programs and now I cannot take advantage of the features of Rev 20 due to this apparant bug.
The latest version of the mbed library (rev 20) seems to break the DigitalIn mode function.
In Version 19 this code worked:
#include "mbed.h"
DigitalOut myled(LED1);
DigitalIn myInput(p21);
int main() {
myInput.mode(PullDown);
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}
In version 20 the following error is reported by the compiler:
" Undefined symbol mbed::DigitalIn::mode(PinMode) (referred from main.cpp.cpp.LPC1768.o). (EL6218E)" in file "/"
Please help. I make extensive use of DigitalIn in all of my programs and now I cannot take advantage of the features of Rev 20 due to this apparant bug.