The Python 3 way: python3 -m http.server –cgi 8080
Connect your 32u4 or Adafruit Feather 32u4 (At this point, you should have solder the OLED feather wing and include the OLED Adafruit library. Tip: test the display with the “Adafruit SSD1306” I2c example sketch)
Unpack the zip file and Upload sketch.ino via Arduino IDE for plateform.io
Point the URL to the examplefolder in your localhost.
The index.html page should load, and you should see the connect button at the top
Click connect, the Adafruit 32u4 show up in the menu, then click pair
Note: every time when you upload the sketch, be sure to disconnect or it will fight over the serial port