Looking at the code that produces the error, it seems like TwoWire does not implement the "end()" method for some boards (ESP8266). You may have selected a wrong board, or the support for the board is flaky, or your libraries needs to be updated.
Looking at the code that produces the error, it seems like TwoWire does not implement the "end()" method for some boards (ESP8266). You may have selected a wrong board, or the support for the board is flaky, or your libraries needs to be updated.