If you want to upload your Arduino firmware but there is no possibility to easily plug in a USB cable because your hardware is packed away in some prototype there is the possibility to do it wireless. The following tutorial will tell you how to do this for the Arduino Nano33IoT but will work with other Arduino's fitted with WiFi modules.
SECRET_SSID
and SECRET_PASS
#include <WiFi101.h>
to #include <WiFiNINA.h>
.ArduinoOTA.begin(WiFi.localIP(), "Arduino", "password", InternalStorage)
here you can find and change the password used for OTA updating the firmware.