Hello Zoltan,
Sorry to bother you again, But it seems that your code and library have an error. Here is the error message,See attached screenshot.
Sorry I don’t know the coding of this, I’m new on mbed and this is my first project on the Nucleo board. I’m so sorry to bother you.