Serial not defined

Serial pc(USBTX, USBRX); showing error that serial is not defined what to do

Hello,

usually is good to share more context…

However, MbedOS 6+ does not contain Serial that was replaced, be so kind and check end of this page - Full API list - API references and tutorials | Mbed OS 6 Documentation

BR, Jan