Still gave the same error.
Anything special I should have done to make sure I was flashing your updated code?
Here is the error:
b'esptool.py v2.8\nSerial port /dev/ttyUSB0\nConnecting....\nChip is ESP32D0WDQ6 (revision 1)\nFeatures: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding...