I set up a very basic start of a new project: LED on pin 9, switch on pin1.
The callback function for the switch input I named ‘switchhandler’, simply changing the duty cycle of the PWM output controlling the LED.
However extremely simple this setup was, it didn’t work :"> In a brief moment of sanity (rest assured: they are rare) I changed the function name to ‘swhandler’ and it worked
So my question: is ‘switchhandler’ a reserved keyword?
btw I did not get any error message returned in the code that used ‘switchhandler’