Digital Out, dpx

My program is compiling but I am getting the following errors

My question is has DigitalOut, DigitalIn and the associated pin assignments ‘dp’ been deprecated and if so what has replaced it? I tried searching for this but came up with nothing.

As always, thank you

Andrew

Hello,

Here you can see - Full API list - API references and tutorials | Mbed OS 6 Documentation

DigitalOut, DigitalIn, InterraptIn are still valid.

Pins name

There seems to be an issue in your project.

BR, Jan

Ok, if your Pindef1114.h file still looks like this - RC5_AndrewR - An RC5 decoder and preamp controller. Written on… | Mbed
Then maybe the include of mbed.h is missing inside.

BR, Jan

Thank you Jan - I found the error. Its compiling ok now

rgds

Andrew