Member-only story
Static IP Address Code
This is a sub-tutorial for my Door Unlocker App tutorial. Please read that first.
The code
Make sure your Serial Monitor (ctrl+shift+m) is open, and then upload this code by clicking on “Upload using programmer”.
Make sure you update the ssid and wifiPassword objects. The “passwordToOpenDoor” can be whatever you like, as long as it is contains English characters or numbers (or any char that doesn’t need to be encoded when sent via HTTP).
If you get any errors, you might need to disable the board in Device Manager and then reenable it before trying again.