I am using this here to control a relay and works fine:
ear.addCommand("ventilator off", arduino.getName(), "digitalWrite", 12, 0)
I would like to use it as a definition, e.g. like:
mouth.speakBlocking("ok, ventilator off")
Does anyone know how to do this the correct way? Thanks.