9 years, 3 months ago.

Compiler problem

Hi, i have a problem compiling the code. I receive the following error: Error: Cannot open source input file "device.h": No such file or directory in "extras/mbed_552587b429a1/platform.h", Line: 21, Col: 20 can you help me please?

Question relating to:

SimpleControls works with the BLEController iOS/Android App. The mbed's pin can acts as DIGITAL_IN, DIGITAL_OUT, PWM, SERVO, ANALOG_IN. The sketch is to show you how to control the pin as … BLE, nRF51822, RedBearLab

3 Answers

9 years, 3 months ago.

HI,

please update to the latest mbed library (rev 92 at the moment), and the device error should not be there anymore.

I'm sorry but i'm currently a newbie on this platform. Can you please explain me how can i do that?

posted by Giacomo Pedretti 10 Jan 2015
7 years, 3 months ago.

As of version 109 of the library, this error still persists. (mbed_official/mbed).

7 years, 3 months ago.

All,

This will compile correctly with the latest mbed revision, and from 122 onwards.

Regards,

Andrea, team mbed