Using latest version of Arduino IDE
Earlier today I installed a library to let my arduino leonardo act as an xbox controller from this tutorial:
It isnt working at all and I would like to restore my firmware to its original state. I can still upload the blink example so I know the board is still working but I cant get the firmware updater example to work
Here are the errors:
Arduino: 1.8.10 (Windows 10), Board: "Arduino Leonardo w/ XInput"
ESP32BootROM.cpp:335:32: error: 'SerialNina' was not declared in this scope
ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);
^~~~~~~~~~
sketch\ESP32BootROM.cpp:335:32: note: suggested alternative: 'Serial'
ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);
^~~~~~~~~~
Serial
ESP32BootROM.cpp:335:44: error: 'NINA_GPIO0' was not declared in this scope
ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);
^~~~~~~~~~
ESP32BootROM.cpp:335:56: error: 'NINA_RESETN' was not declared in this scope
ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);
^~~~~~~~~~~
exit status 1
'SerialNina' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
What do I do to restore the firmware and remove the xinput stuff?