Hello here is why it does not compile as you want, the library must be MySensors 1.5.4 I tested today the compilation. that's why include<MySensor.h> and not MySensors.h I wish you a good day with my cordial greetings