I am looking at the example code for the Arduino BasicOTA that is installed with the ESP32 extension. I have attached the relevant clip below:
At line 35, I think I am seeing a class.method “ArduinoOTA” is the class and onStart() is the method?
But what is at line 45, 49 & 53? Methods without specifying a Class?
Next, at line 63, a syntax that I think I am familiar with. But what are the parameters that are passed to ArduinoOTA.onStart()? I don’t think I have seen lines of code being passed before (but there are lots of things that I have never seen before :o
I am confused…