I am new to Arduino so I am trying different sketches that I have downloaded in order to compile and upload to a STM32. So I see by your answer the code is incorrect. I have been also trying to upload the controller code by Joop Brokking for the STM32 and have not been able to get beyond trying to compile it without it halting with numerous errors for missing libraries and directories, which I know are there. Like this one:
