serial.available OK with IDE and KO with C language

You have right.

What I need is the Serial object in Cpp, like in the IDE. I don't understand how to have Serial in C :

  • Serial is not found by the link editor
  • Serial seems to be a C know symbol
  • Serial.begin is defined

I imagined that SerialSoftware was a solution, but it is not.

Do you know how to use Serial in C ?