Part2: With the suggestions made by @ladyada in Part1
With minor changes, I was able to make this nice library compatible for use with the esp8266 & esp32 boards.
I tested and was able to successfully update my samd21 board from both mentioned esp boards and my Arduini MKR WiFi 1010
Not all boards have the LED_BUILTIN defined. Users can easily change this in the examples! In the library I using a precompiler statement #ifdef LED_BUILTIN
Part2: With the suggestions made by @ladyada in Part1
With minor changes, I was able to make this nice library compatible for use with the esp8266 & esp32 boards.
I tested and was able to successfully update my samd21 board from both mentioned esp boards and my Arduini MKR WiFi 1010
Not all boards have the LED_BUILTIN defined. Users can easily change this in the examples! In the library I using a precompiler statement #ifdef LED_BUILTIN