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
JohnnyK
(Jan Kamidra)
December 5, 2024, 5:04pm
2
Hello,
Here you can see - Full API list - API references and tutorials | Mbed OS 6 Documentation
DigitalOut, DigitalIn, InterraptIn are still valid.
Pins name
xp39 = P1_10,
xp40 = P1_9,
xp41 = P0_4,
xp42 = P0_5,
xp43 = P0_3,
xp44 = P0_1,
// Other mbed Pin Names
xLED1 = P0_7,
// DIP Package Names
dp1 = P0_8,
dp2 = P0_9,
dp4 = P0_11,
dp5 = P0_5,
dp6 = P0_6,
dp9 = P1_0,
dp10 = P1_1,
dp11 = P1_2,
dp13 = P1_4,
There seems to be an issue in your project.
BR, Jan
JohnnyK
(Jan Kamidra)
December 5, 2024, 5:06pm
3
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